# HG changeset patch # User nemo # Date 1491829516 14400 # Node ID ea891871f481db1a8a7ac4a097b769e763b418d7 # Parent 00bcaa0e0ef644c4e9474634330122282918eaa6 merge in patch used in arch/fedora - fixes a lazy physfs memcpy that was breaking upstream's stricter checking diff -r 00bcaa0e0ef6 -r ea891871f481 misc/libphysfs/archiver_zip.c --- a/misc/libphysfs/archiver_zip.c Mon Apr 10 14:34:32 2017 +0200 +++ b/misc/libphysfs/archiver_zip.c Mon Apr 10 09:05:16 2017 -0400 @@ -312,7 +312,8 @@ return 0; inflateEnd(&finfo->stream); - memcpy(&finfo->stream, &str, sizeof (z_stream)); + inflateCopy(&finfo->stream, &str); + inflateEnd(&str); finfo->uncompressed_position = finfo->compressed_position = 0; } /* if */