Lines 1-12
Link Here
|
1 |
--- archivers/zip.c.orig 2017-03-03 22:21:13 UTC |
|
|
2 |
+++ archivers/zip.c |
3 |
@@ -327,7 +327,8 @@ static int ZIP_seek(fvoid *opaque, PHYSF |
4 |
return(0); |
5 |
|
6 |
inflateEnd(&finfo->stream); |
7 |
- memcpy(&finfo->stream, &str, sizeof (z_stream)); |
8 |
+ inflateCopy(&finfo->stream, &str); |
9 |
+ inflateEnd(&str); |
10 |
finfo->uncompressed_position = finfo->compressed_position = 0; |
11 |
} /* if */ |
12 |
|