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

mz_zip_rw.c - fix potential null dereference in create functions #531

Merged
merged 1 commit into from
Nov 25, 2020

Conversation

eiszapfen2000
Copy link
Contributor

In contrast to other mz_*_create() functions, mz_zip_reader_create and mz_zip_writer_create crash on a null argument. This fixes it.

@nmoinvaz nmoinvaz merged commit 261402a into zlib-ng:dev Nov 25, 2020
@nmoinvaz
Copy link
Member

Thanks!

@nmoinvaz nmoinvaz added 2.0 security Security issue labels Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security Security issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants