From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-arch/zip/files/zip-3.0-format-security.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app-arch/zip/files/zip-3.0-format-security.patch (limited to 'app-arch/zip/files/zip-3.0-format-security.patch') diff --git a/app-arch/zip/files/zip-3.0-format-security.patch b/app-arch/zip/files/zip-3.0-format-security.patch new file mode 100644 index 000000000000..1edc2d6a1b88 --- /dev/null +++ b/app-arch/zip/files/zip-3.0-format-security.patch @@ -0,0 +1,20 @@ +--- zip.c ++++ zip.c +@@ -1028,7 +1028,7 @@ + + for (i = 0; i < sizeof(text)/sizeof(char *); i++) + { +- printf(text[i]); ++ fputs(text[i], stdout); + putchar('\n'); + } + #ifdef DOS +@@ -1225,7 +1225,7 @@ + CR_MAJORVER, CR_MINORVER, CR_BETA_VER, CR_VERSION_DATE); + for (i = 0; i < sizeof(cryptnote)/sizeof(char *); i++) + { +- printf(cryptnote[i]); ++ fputs(cryptnote[i], stdout); + putchar('\n'); + } + ++i; /* crypt support means there IS at least one compilation option */ -- cgit v1.2.3