mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +00:00
Should fix some zip archives potentially not working on Linux; the
stream member of zlib was being set to random memory, so it was attempted to be freed on line 73 of trans_stream_zlib.c
This commit is contained in:
parent
2160f185f1
commit
de111ea903
@ -240,7 +240,7 @@ static int zip_file_read(
|
||||
const char *needle, void **buf,
|
||||
const char *optional_outfile)
|
||||
{
|
||||
file_archive_transfer_t zlib;
|
||||
file_archive_transfer_t zlib = {0};
|
||||
struct archive_extract_userdata userdata = {{0}};
|
||||
bool returnerr = true;
|
||||
int ret = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user