Skip to content

Conversation

XZ-X
Copy link

@XZ-X XZ-X commented Jul 24, 2024

The lib function strdup may return null pointer on memory allocation failures.

I added null pointer checks to unchecked strdup calls.

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