diff --git a/lib/plist_archive_entry.c b/lib/plist_archive_entry.c index 34352bdc..ff3d375d 100644 --- a/lib/plist_archive_entry.c +++ b/lib/plist_archive_entry.c @@ -90,6 +90,8 @@ _xbps_uncompress_plist_data(char *xml, size_t len) case Z_STREAM_ERROR: case Z_NEED_DICT: case Z_MEM_ERROR: + case Z_BUF_ERROR: + case Z_VERSION_ERROR: (void)inflateEnd(&strm); free(uncomp_xml); return NULL;