Skip to content
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

Avoid null pointer dereference in md2_digest #826

Merged
merged 1 commit into from
Aug 18, 2024

Conversation

vil02
Copy link
Contributor

@vil02 vil02 commented Aug 18, 2024

This PR moves the assert(hs->count < 16); after the check if hs is not null.

Similar to #823.

@vil02 vil02 marked this pull request as ready for review August 18, 2024 14:41
@Legrandin Legrandin merged commit 38033a3 into Legrandin:master Aug 18, 2024
36 checks passed
@vil02 vil02 deleted the avoid_null_pointer_dereference branch August 18, 2024 15:55
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.

2 participants