/[gentoo-x86]/app-arch/zip/files/zip-3.0-format-security.patch
Gentoo

Contents of /app-arch/zip/files/zip-3.0-format-security.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed Jan 28 09:45:40 2015 UTC (5 years, 6 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Upstream 3.1C fileio & zipnote changes backported by Rafał "galtgendo" Mużyło, closes bug #322047. Incorrect printf usage changed to fputs by Ted Tanberry, closes bug #512414.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A)

1 --- zip.c
2 +++ zip.c
3 @@ -1028,7 +1028,7 @@
4
5 for (i = 0; i < sizeof(text)/sizeof(char *); i++)
6 {
7 - printf(text[i]);
8 + fputs(text[i], stdout);
9 putchar('\n');
10 }
11 #ifdef DOS
12 @@ -1225,7 +1225,7 @@
13 CR_MAJORVER, CR_MINORVER, CR_BETA_VER, CR_VERSION_DATE);
14 for (i = 0; i < sizeof(cryptnote)/sizeof(char *); i++)
15 {
16 - printf(cryptnote[i]);
17 + fputs(cryptnote[i], stdout);
18 putchar('\n');
19 }
20 ++i; /* crypt support means there IS at least one compilation option */

  ViewVC Help
Powered by ViewVC 1.1.20