-
-
Notifications
You must be signed in to change notification settings - Fork 486
Closed
Description
zipOpen2 and unzOpen2 currently cast a zlib_filefunc_def* to mz_stream_vtbl*
Since those structs contain different functions with different parameters in a different order, this will crash the calling application at best and corrupt data (unzOpen2 actually calling into a function that opens the file for writing) at worst.
The functions should either be implemented in a compatible way, or at least removed so users don't think this is going to work before actually running into something that calls the functions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels