aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/unzip-allow-greater-hostver-values.patch
blob: d98937f1cb4b728db1b0d3f7e9d3a6baf2aa681c (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Copied from Debian.

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) */
n class='msg-avail'>...Leo Famulari 2018-02-22gnu: mpd-mpc: Update to 0.29....Leo Famulari 2018-02-22gnu: mpd: Update to 0.20.17....Leo Famulari 2018-02-22gnu: libmpdclient: Update to 2.14....Leo Famulari 2018-02-16gnu: Use HTTPS for supported nongnu.org home pages....Tobias Geerinckx-Rice 2018-01-22gnu: mpd: Update to 0.20.15....Leo Famulari 2018-01-13gnu: mpd: Remove (gnu packages gcc) import....Tobias Geerinckx-Rice 2018-01-13gnu: mpd: Use HTTPS for musicpd.org home pages....Tobias Geerinckx-Rice 2018-01-13gnu: mpdscribble: Update home page....Tobias Geerinckx-Rice 2018-01-13gnu: libmpdclient: Update to 2.13....Tobias Geerinckx-Rice 2017-12-19gnu: mpd: Update to 0.20.13....Leo Famulari 2017-12-07gnu: mpd: Update to 0.20.12....Leo Famulari 2017-11-17gnu: Move testing packages from python.scm to check.scm....Ricardo Wurmus 2017-10-31gnu: ncmpcpp: Update to 0.8.1....Leo Famulari 2017-10-30gnu: mpd: Update to 0.20.11....Leo Famulari 2017-09-04gnu: mpd: Update to 0.20.10....Leo Famulari 2017-07-10gnu: ncmpcpp: Update to 0.8....Leo Famulari 2017-06-21gnu: mpd: Build with the default GCC....Leo Famulari 2017-06-17gnu: mpd: Update to 0.20.9....Leo Famulari