Compare commits
No commits in common. "c8" and "c8-beta" have entirely different histories.
@ -1,19 +0,0 @@
|
|||||||
From: Roy Tam
|
|
||||||
Subject: Handle Microsoft ZIP64 files by ignoring invalid "Total number of disks" field
|
|
||||||
Origin: https://sourceforge.net/p/infozip/bugs/42/
|
|
||||||
Bug: https://sourceforge.net/p/infozip/bugs/42/
|
|
||||||
Bug-Debian: https://bugs.debian.org/1064000
|
|
||||||
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/2051952
|
|
||||||
X-Debian-version: 6.0-29
|
|
||||||
|
|
||||||
--- a/process.c
|
|
||||||
+++ b/process.c
|
|
||||||
@@ -1281,7 +1281,7 @@
|
|
||||||
fprintf(stdout,"\nnumber of disks (ECR) %u, (ECLOC64) %lu\n",
|
|
||||||
G.ecrec.number_this_disk, ecloc64_total_disks); fflush(stdout);
|
|
||||||
#endif
|
|
||||||
- if ((G.ecrec.number_this_disk != 0xFFFF) &&
|
|
||||||
+ if ((G.ecrec.number_this_disk != 0xFFFF) && ecloc64_total_disks &&
|
|
||||||
(G.ecrec.number_this_disk != ecloc64_total_disks - 1)) {
|
|
||||||
/* Note: For some unknown reason, the developers at PKWARE decided to
|
|
||||||
store the "zip64 total disks" value as a counter starting from 1,
|
|
@ -1,15 +0,0 @@
|
|||||||
From: "Steven M. Schweda" <sms@antinode.info>
|
|
||||||
Subject: Fix lame code in fileio.c
|
|
||||||
Bug-Debian: https://bugs.debian.org/929502
|
|
||||||
X-Debian-version: 6.0-23
|
|
||||||
|
|
||||||
--- a/fileio.c
|
|
||||||
+++ b/fileio.c
|
|
||||||
@@ -2477,6 +2477,7 @@
|
|
||||||
*/
|
|
||||||
return (((zusz_t)sig[7]) << 56)
|
|
||||||
+ (((zusz_t)sig[6]) << 48)
|
|
||||||
+ + (((zusz_t)sig[5]) << 40)
|
|
||||||
+ (((zusz_t)sig[4]) << 32)
|
|
||||||
+ (zusz_t)((((ulg)sig[3]) << 24)
|
|
||||||
+ (((ulg)sig[2]) << 16)
|
|
@ -7,7 +7,7 @@
|
|||||||
Summary: A utility for unpacking zip files
|
Summary: A utility for unpacking zip files
|
||||||
Name: unzip
|
Name: unzip
|
||||||
Version: 6.0
|
Version: 6.0
|
||||||
Release: 48%{?dist}
|
Release: 46%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/Archiving
|
Group: Applications/Archiving
|
||||||
Source: http://downloads.sourceforge.net/infozip/unzip60.tar.gz
|
Source: http://downloads.sourceforge.net/infozip/unzip60.tar.gz
|
||||||
@ -76,10 +76,6 @@ Patch32: unzip-zipbomb-part5.patch
|
|||||||
Patch33: unzip-zipbomb-part6.patch
|
Patch33: unzip-zipbomb-part6.patch
|
||||||
|
|
||||||
Patch34: unzip-zipbomb-switch.patch
|
Patch34: unzip-zipbomb-switch.patch
|
||||||
|
|
||||||
Patch35: unzip-6.0-fix-warning-messages-on-big-files.patch
|
|
||||||
#https://sources.debian.org/src/unzip/6.0-29/debian/patches/29-handle-windows-zip64-files.patch/
|
|
||||||
Patch36: unzip-6.0-RHEL-86228.patch
|
|
||||||
URL: http://www.info-zip.org/UnZip.html
|
URL: http://www.info-zip.org/UnZip.html
|
||||||
BuildRequires: bzip2-devel
|
BuildRequires: bzip2-devel
|
||||||
|
|
||||||
@ -133,8 +129,6 @@ a zip archive.
|
|||||||
%patch32 -p1
|
%patch32 -p1
|
||||||
%patch33 -p1
|
%patch33 -p1
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch35 -p1
|
|
||||||
%patch36 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# IZ_HAVE_UXUIDGID is needed for right functionality of unzip -X
|
# IZ_HAVE_UXUIDGID is needed for right functionality of unzip -X
|
||||||
@ -155,15 +149,6 @@ make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT/%{
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Apr 07 2025 Jakub Martisko <jamartis@redhat.com> - 6.0-48
|
|
||||||
- Allow decompression of some wrongly compressed files
|
|
||||||
Resolves: RHEL-86231
|
|
||||||
|
|
||||||
* Wed Jul 03 2024 Jakub Martisko <jamartis@redhat.com> - 6.0-47
|
|
||||||
- Fix: Unzip Fails on Large Zip Files
|
|
||||||
- Use the patch from Debian dealing with this
|
|
||||||
Resolves: RHEL-45997
|
|
||||||
|
|
||||||
* Thu Dec 16 2021 Jakub Martisko <jamartis@redhat.com> - 6.0-46
|
* Thu Dec 16 2021 Jakub Martisko <jamartis@redhat.com> - 6.0-46
|
||||||
- Add environment variable that disables the zipbomb detection
|
- Add environment variable that disables the zipbomb detection
|
||||||
- Resolves: rhbz#2020320
|
- Resolves: rhbz#2020320
|
||||||
|
Loading…
Reference in New Issue
Block a user