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-text/talkfilters/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/talkfilters/files')
-rw-r--r-- | app-text/talkfilters/files/talkfilters-2.3.8-format-security.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-text/talkfilters/files/talkfilters-2.3.8-format-security.patch b/app-text/talkfilters/files/talkfilters-2.3.8-format-security.patch new file mode 100644 index 000000000000..cf59574694a6 --- /dev/null +++ b/app-text/talkfilters/files/talkfilters-2.3.8-format-security.patch @@ -0,0 +1,43 @@ + wrap.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/wrap.c b/wrap.c +index 7c89dc8..745d1ec 100644 +--- a/wrap.c ++++ b/wrap.c +@@ -105,7 +105,7 @@ int main(int argc, char **argv) + { + *wp = 0; + putchar('\n'); +- printf(wbuf); ++ printf("%s", wbuf); + putchar(c); + putchar('\n'); + wp = wbuf, ll = wl = 0; +@@ -123,7 +123,7 @@ int main(int argc, char **argv) + { + *wp = 0; + if(ll) putchar(' '), ll++; +- printf(wbuf); ++ printf("%s", wbuf); + ll += wl; + wl = 0, wp = wbuf; + } +@@ -131,7 +131,7 @@ int main(int argc, char **argv) + { + *wp = 0; + putchar('\n'); +- printf(wbuf); ++ printf("%s", wbuf); + ll = wl; + wl = 0, wp = wbuf; + } +@@ -148,7 +148,7 @@ int main(int argc, char **argv) + if(ll) putchar(' '); + } + else putchar('\n'); +- printf(wbuf); ++ printf("%s", wbuf); + } + putchar('\n'); + free(wbuf); |