Explorar o código

include bugfix patch from RedHat

Ralf S. Engelschall %!s(int64=22) %!d(string=hai) anos
pai
achega
73331c84b3
Modificáronse 2 ficheiros con 12 adicións e 1 borrados
  1. 11 0
      gzip/gzip.patch
  2. 1 1
      gzip/gzip.spec

+ 11 - 0
gzip/gzip.patch

@@ -11,3 +11,14 @@
  if test -z "`(${CPMOD-cpmod} $tmp.1 $tmp.2) 2>&1`"; then
    cpmod=${CPMOD-cpmod}
    warn=""
+--- gzip.c.orig	Thu Jan 30 21:19:36 2003
++++ gzip.c	Thu Jan 30 21:09:52 2003
+@@ -198,7 +198,7 @@
+ DECLARE(uch, inbuf,  INBUFSIZ +INBUF_EXTRA);
+ DECLARE(uch, outbuf, OUTBUFSIZ+OUTBUF_EXTRA);
+ DECLARE(ush, d_buf,  DIST_BUFSIZE);
+-DECLARE(uch, window, 2L*WSIZE);
++DECLARE(uch, window, 2L*WSIZE + 4096); /* enlarge to avoid crashs due to peeking beyond the buffer end */
+ #ifndef MAXSEG_64K
+     DECLARE(ush, tab_prefix, 1L<<BITS);
+ #else

+ 1 - 1
gzip/gzip.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [CORE]
 Group:        Compression
 License:      GPL
 Version:      1.3.5
-Release:      20030723
+Release:      20031007
 
 #   list of sources
 Source0:      ftp://alpha.gnu.org/gnu/gzip/gzip-%{version}.tar.gz