unzip-6.0-attribs-overflow.patch 636 B

12345678910111213
  1. diff -up unzip60/zipinfo.c.attribs-overflow unzip60/zipinfo.c
  2. --- unzip60/zipinfo.c.attribs-overflow 2009-11-30 09:55:39.000000000 +0100
  3. +++ unzip60/zipinfo.c 2009-11-30 09:56:42.844263244 +0100
  4. @@ -1881,7 +1881,7 @@ static int zi_short(__G) /* return PK-
  5. #endif
  6. int k, error, error_in_archive=PK_COOL;
  7. unsigned hostnum, hostver, methid, methnum, xattr;
  8. - char *p, workspace[12], attribs[16];
  9. + char *p, workspace[12], attribs[17];
  10. char methbuf[5];
  11. static ZCONST char dtype[5]="NXFS"; /* normal, maximum, fast, superfast */
  12. static ZCONST char Far os[NUM_HOSTS+1][4] = {