Skip to content

fix: missing null check on strdup#150251

Draft
KowalskiThomas wants to merge 1 commit into
python:mainfrom
KowalskiThomas:kowalski/fix-missing-null-check-on-strdup
Draft

fix: missing null check on strdup#150251
KowalskiThomas wants to merge 1 commit into
python:mainfrom
KowalskiThomas:kowalski/fix-missing-null-check-on-strdup

Conversation

@KowalskiThomas
Copy link
Copy Markdown
Contributor

What is this PR?

This just adds a null pointer check on the result of an strdup call, which matches what the remainder of the files does (so I assume this wasn't on purpose / being optimistic about strdup).

I don't think this is worth an issue or a NEWS entry, but if anyone disagrees I'll create one.

@KowalskiThomas KowalskiThomas changed the title fix: missing null check on strdup fix: missing null check on strdup May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant