summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/vorbisgain/files/vorbisgain-0.37-wformat-security.patch')
-rw-r--r--media-sound/vorbisgain/files/vorbisgain-0.37-wformat-security.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-sound/vorbisgain/files/vorbisgain-0.37-wformat-security.patch b/media-sound/vorbisgain/files/vorbisgain-0.37-wformat-security.patch
new file mode 100644
index 000000000000..eecf45675fac
--- /dev/null
+++ b/media-sound/vorbisgain/files/vorbisgain-0.37-wformat-security.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/634994
+--- a/misc.c
++++ b/misc.c
+@@ -57,8 +57,7 @@
+ vfprintf(stderr, message, args);
+ va_end(args);
+
+- fprintf(stderr, strerror(err_num));
+- fprintf(stderr, "\n");
++ fprintf(stderr, "%s\n", strerror(err_num));
+ }
+
+