diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-23 07:00:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-23 07:00:28 +0100 |
commit | e23cdda4dbb0c83b9e682ab5e916085a35203da5 (patch) | |
tree | 5a4ac448a3b288b731c24d947e0ce52df3cab07b /media-sound/mp3info/files/mp3info-0.8.5a-format-security.patch | |
parent | 8187a741807f3e9a9e26304973cf18087dcf2560 (diff) |
gentoo resync : 23.06.2018
Diffstat (limited to 'media-sound/mp3info/files/mp3info-0.8.5a-format-security.patch')
-rw-r--r-- | media-sound/mp3info/files/mp3info-0.8.5a-format-security.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/media-sound/mp3info/files/mp3info-0.8.5a-format-security.patch b/media-sound/mp3info/files/mp3info-0.8.5a-format-security.patch new file mode 100644 index 000000000000..5a8a749b55fb --- /dev/null +++ b/media-sound/mp3info/files/mp3info-0.8.5a-format-security.patch @@ -0,0 +1,21 @@ +diff -Nuar mp3info-0.8.5a.orig/textfunc.c mp3info-0.8.5a/textfunc.c +--- mp3info-0.8.5a.orig/textfunc.c 2018-06-09 21:56:18.450985762 +0300 ++++ mp3info-0.8.5a/textfunc.c 2018-06-09 22:09:07.164948467 +0300 +@@ -227,7 +227,7 @@ + + while((percent=strchr(format,'%'))) { + *percent=0; +- printf(format); ++ printf("%s", format); + *percent='%'; + code=percent+1; + while(*code && (code[0] != '%' && !isalpha(*code))) code++; +@@ -354,7 +354,7 @@ + } + + } +- printf(format); ++ printf("%s", format); + } + + |