pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/mpg321 Add security fix for CAN-2003-0969 taken ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0ff0f5c6c68
branches:  trunk
changeset: 465878:c0ff0f5c6c68
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Jan 07 16:52:15 2004 +0000

description:
Add security fix for CAN-2003-0969 taken based on the fix provided
by the Debian project.

diffstat:

 audio/mpg321/Makefile         |   4 ++--
 audio/mpg321/distinfo         |   3 ++-
 audio/mpg321/patches/patch-aa |  22 ++++++++++++++++++++++
 3 files changed, 26 insertions(+), 3 deletions(-)

diffs (49 lines):

diff -r b1dec1b63b03 -r c0ff0f5c6c68 audio/mpg321/Makefile
--- a/audio/mpg321/Makefile     Wed Jan 07 15:30:54 2004 +0000
+++ b/audio/mpg321/Makefile     Wed Jan 07 16:52:15 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2003/12/08 14:41:38 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2004/01/07 16:52:15 tron Exp $
 
 DISTNAME=      mpg321-0.2.10
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mpg321/}
 
diff -r b1dec1b63b03 -r c0ff0f5c6c68 audio/mpg321/distinfo
--- a/audio/mpg321/distinfo     Wed Jan 07 15:30:54 2004 +0000
+++ b/audio/mpg321/distinfo     Wed Jan 07 16:52:15 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/06/13 09:14:45 rh Exp $
+$NetBSD: distinfo,v 1.2 2004/01/07 16:52:15 tron Exp $
 
 SHA1 (mpg321-0.2.10.tar.gz) = 90268d0d187ddd7625d143b95791cb39a1630b79
 Size (mpg321-0.2.10.tar.gz) = 113449 bytes
+SHA1 (patch-aa) = 28b16b6ffe9a4124323bfdbb26d79d79e5e1b8f3
diff -r b1dec1b63b03 -r c0ff0f5c6c68 audio/mpg321/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mpg321/patches/patch-aa     Wed Jan 07 16:52:15 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2004/01/07 16:54:12 tron Exp $
+
+--- mpg321.c.orig      Sun Mar 24 06:49:20 2002
++++ mpg321.c   Wed Jan  7 17:47:33 2004
+@@ -188,7 +188,7 @@
+             
+             else
+             {
+-                printf(names[i]);
++                printf("%s", names[i]);
+                 free(names[i]);
+             }
+         }
+@@ -203,7 +203,7 @@
+             if (!names[i])  {
+                 fprintf (stderr, emptystring);
+             }   else    {
+-                fprintf (stderr, names[i]);
++                fprintf (stderr, "%s", names[i]);
+                 free (names[i]);
+             }
+             if (i%2) fprintf (stderr, "\n");



Home | Main Index | Thread Index | Old Index