[SCM] faac/master: Fix format string security error.

fabian-guest at users.alioth.debian.org fabian-guest at users.alioth.debian.org
Mon Feb 6 14:04:40 UTC 2012


The following commit has been merged in the master branch:
commit 6547a05649ac0dd0fa676f77f3be3c9995e2f4b5
Author: Fabian Greffrath <fabian at greffrath.com>
Date:   Mon Feb 6 14:48:24 2012 +0100

    Fix format string security error.

diff --git a/debian/patches/format-security.patch b/debian/patches/format-security.patch
new file mode 100644
index 0000000..3d1a7be
--- /dev/null
+++ b/debian/patches/format-security.patch
@@ -0,0 +1,11 @@
+--- faac.orig/frontend/main.c
++++ faac/frontend/main.c
+@@ -715,7 +715,7 @@ int main(int argc, char *argv[])
+         break;
+ #endif
+         case 'L':
+-        fprintf(stderr, faac_copyright_string);
++        fprintf(stderr, "%s", faac_copyright_string);
+         dieMessage = license;
+         break;
+     case 'X':
diff --git a/debian/patches/series b/debian/patches/series
index d9f17d5..6eddf4a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 build-fix.patch
 symbol-visibility.patch
+format-security.patch

-- 
faac packaging



More information about the pkg-multimedia-commits mailing list