Hi,
thanks very much for the bug, already applied.

Cheers,
Chris.  
        

On Sun, Oct 23, 2011 at 03:04:31AM -0500, Micah Gersten wrote:
> Package: mpg321
> Version: 0.2.13-4
> Severity: normal
> Tags: patch
> User: ubuntu-de...@lists.ubuntu.com
> Usertags: origin-ubuntu precise ubuntu-patch
> 
> 
> 
> *** /tmp/tmpJNGovd
> In Ubuntu, the attached patch was applied to achieve the following:
> 
> 
>   * Fix -Werror=format-security issues
>     - add debian/patches/fix-format-security.patch
>     - update debian/patches/series
> 
> 
> Thanks for considering the patch.
> 
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers oneiric-updates
>   APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
> 'oneiric-proposed'), (500, 'oneiric'), (100, 'oneiric-backports')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.0.0-12-generic (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash

> diff -Nru mpg321-0.2.13/debian/patches/fix-format-security.patch 
> mpg321-0.2.13/debian/patches/fix-format-security.patch
> --- mpg321-0.2.13/debian/patches/fix-format-security.patch    1969-12-31 
> 18:00:00.000000000 -0600
> +++ mpg321-0.2.13/debian/patches/fix-format-security.patch    2011-10-23 
> 03:00:59.000000000 -0500
> @@ -0,0 +1,23 @@
> +Description: Fix -Werror=format-security issues
> +Author: Micah Gersten <mic...@ubuntu.com>
> +
> +--- mpg321-0.2.13.orig/mpg321.c
> ++++ mpg321-0.2.13/mpg321.c
> +@@ -301,7 +301,7 @@ static int show_id3(struct id3_tag const
> +         {
> +             if(!names[i])
> +             {
> +-                printf(emptystring);
> ++                printf("%s", emptystring);
> +             }
> +             
> +             else
> +@@ -319,7 +319,7 @@ static int show_id3(struct id3_tag const
> +         for (i=0; i<=5; i++)    {
> +             fprintf (stderr, "%s", info_id3[i].name);
> +             if (!names[i])  {
> +-                fprintf (stderr, emptystring);
> ++                fprintf (stderr, "%S", emptystring);
> +             }   else    {
> +                 fprintf (stderr, "%s", names[i]);
> +                 free (names[i]);
> diff -Nru mpg321-0.2.13/debian/patches/series 
> mpg321-0.2.13/debian/patches/series
> --- mpg321-0.2.13/debian/patches/series       2011-09-29 11:51:51.000000000 
> -0500
> +++ mpg321-0.2.13/debian/patches/series       2011-10-23 02:59:34.000000000 
> -0500
> @@ -6,3 +6,4 @@
>  05toversion3.patch
>  06keybttybug.patch
>  07remoterestart.patch
> +fix-format-security.patch




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to