[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#787076: marked as done (wheezy-pu: unzip 6.0-8+deb7u3)



Your message dated Sat, 05 Sep 2015 14:33:54 +0100
with message-id <1441460034.2151.33.camel@adam-barratt.org.uk>
and subject line Closing bugs for 7.9
has caused the Debian Bug report #787076,
regarding wheezy-pu: unzip 6.0-8+deb7u3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
787076: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787076
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: wheezy
User: release.debian.org@packages.debian.org
Usertags: pu

Hello release managers.

There are three bugs in unzip which I would like to see fixed in wheezy.
They are not security bugs but IMHO they are the kind of bug worthy
enough to fix in a point release.

I'd like to ask permission to make an upload for wheezy fixing those bugs.

This is the debdiff between 6.0-8+deb7u2 (currently in security.debian.org)
and the proposed upload 6.0-8+deb7u3.

Thanks.
diff -Nru unzip-6.0/debian/changelog unzip-6.0/debian/changelog
--- unzip-6.0/debian/changelog	2015-02-03 08:00:47.000000000 +0100
+++ unzip-6.0/debian/changelog	2015-05-28 12:06:34.000000000 +0200
@@ -1,3 +1,15 @@
+unzip (6.0-8+deb7u3) wheezy; urgency=medium
+
+  * Apply the following patches from jessie:
+  - Fixed bug "unzip thinks some files are symlinks". Closes: #717029.
+    Reported by Jeff King. Patch by Andreas Schwab.
+  - Increase size of cfactorstr array in list.c to avoid a buffer
+    overflow problem. Closes: #741384.
+  - Fix zipinfo crash where a value <= 25.5 was printed in a buffer
+    having room only for values < 10.0. Closes: #744212.
+
+ -- Santiago Vila <sanvila@debian.org>  Thu, 28 May 2015 12:01:14 +0200
+
 unzip (6.0-8+deb7u2) wheezy-security; urgency=high
 
   * Security upload.
diff -Nru unzip-6.0/debian/patches/06-initialize-the-symlink-flag unzip-6.0/debian/patches/06-initialize-the-symlink-flag
--- unzip-6.0/debian/patches/06-initialize-the-symlink-flag	1970-01-01 01:00:00.000000000 +0100
+++ unzip-6.0/debian/patches/06-initialize-the-symlink-flag	2015-05-28 12:00:00.000000000 +0200
@@ -0,0 +1,20 @@
+From: Andreas Schwab <schwab@linux-m68k.org>
+Subject: Initialize the symlink flag
+Bug-Debian: http://bugs.debian.org/717029
+X-Debian-version: 6.0-10
+
+--- a/process.c
++++ b/process.c
+@@ -1758,6 +1758,12 @@
+         = (G.crec.general_purpose_bit_flag & (1 << 11)) == (1 << 11);
+ #endif
+ 
++#ifdef SYMLINKS
++    /* Initialize the symlink flag, may be set by the platform-specific
++       mapattr function.  */
++    G.pInfo->symlink = 0;
++#endif
++
+     return PK_COOL;
+ 
+ } /* end function process_cdir_file_hdr() */
diff -Nru unzip-6.0/debian/patches/07-increase-size-of-cfactorstr unzip-6.0/debian/patches/07-increase-size-of-cfactorstr
--- unzip-6.0/debian/patches/07-increase-size-of-cfactorstr	1970-01-01 01:00:00.000000000 +0100
+++ unzip-6.0/debian/patches/07-increase-size-of-cfactorstr	2015-05-28 12:00:00.000000000 +0200
@@ -0,0 +1,16 @@
+From: sms
+Subject: Increase size of cfactorstr array to avoid buffer overflow
+Bug-Debian: http://bugs.debian.org/741384
+X-Debian-version: 6.0-11
+
+--- a/list.c
++++ b/list.c
+@@ -97,7 +97,7 @@
+ {
+     int do_this_file=FALSE, cfactor, error, error_in_archive=PK_COOL;
+ #ifndef WINDLL
+-    char sgn, cfactorstr[10];
++    char sgn, cfactorstr[12];
+     int longhdr=(uO.vflag>1);
+ #endif
+     int date_format;
diff -Nru unzip-6.0/debian/patches/08-allow-greater-hostver-values unzip-6.0/debian/patches/08-allow-greater-hostver-values
--- unzip-6.0/debian/patches/08-allow-greater-hostver-values	1970-01-01 01:00:00.000000000 +0100
+++ unzip-6.0/debian/patches/08-allow-greater-hostver-values	2015-05-28 12:00:00.000000000 +0200
@@ -0,0 +1,14 @@
+From: Santiago Vila <sanvila@debian.org>
+Subject: zipinfo.c: Do not crash when hostver byte is >= 100
+
+--- a/zipinfo.c
++++ b/zipinfo.c
+@@ -2114,7 +2114,7 @@
+             else
+                 attribs[9] = (xattr & UNX_ISVTX)? 'T' : '-';  /* T==undefined */
+ 
+-            sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
++            sprintf(&attribs[11], "%2u.%u", hostver/10, hostver%10);
+             break;
+ 
+     } /* end switch (hostnum: external attributes format) */

--- End Message ---
--- Begin Message ---
Version: 7.9

Hi,

These bugs relate to updates which were included in the 7.9 point
release.

Regards,

Adam

--- End Message ---

Reply to: