diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-arch/zip/files/zip-3.0-format-security.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-arch/zip/files/zip-3.0-format-security.patch')
-rw-r--r-- | app-arch/zip/files/zip-3.0-format-security.patch | 20 |
1 files changed, 20 insertions, 0 deletions
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 */ |