8000 Avoiding null pointer dereference by klebertarcisio · Pull Request #973 · lz4/lz4 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Avoiding null pointer dereference #973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 10, 2021
Merged

Conversation

klebertarcisio
Copy link

This pull request aims to fix null pointer dereference.

Null pointer dereference

@Cyan4973
Copy link
Member
Cyan4973 commented Mar 1, 2021

Yes, that's a good point.

Issue here is C90 compliance (which is the standard used by lz4) : one can't add a statement before a declaration within the same block.

This is a minor issue, there are multiple ways to get this fixed.

@klebertarcisio
Copy link
Author

Hi @Cyan4973, thanks for the feedback. I reversed the commit to send another solution considering C90.

@Cyan4973
Copy link
Member

Thanks @klebertarcisio !

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.

3 participants
0