author | sheepluva |
Tue, 05 Sep 2017 20:46:40 +0200 | |
changeset 12457 | e18cfe90e4e2 |
parent 12456 | 30da743f118b |
child 12458 | 89423b1db329 |
--- a/misc/libphysfs/archiver_zip.c Sun Sep 03 19:09:30 2017 +0200 +++ b/misc/libphysfs/archiver_zip.c Tue Sep 05 20:46:40 2017 +0200 @@ -421,8 +421,7 @@ return 0; inflateEnd(&finfo->stream); - inflateCopy(&finfo->stream, &str); - inflateEnd(&str); + memcpy(&finfo->stream, &str, sizeof (z_stream)); finfo->uncompressed_position = finfo->compressed_position = 0; if (encrypted)