diff options
author | drochner <drochner@pkgsrc.org> | 2006-04-21 11:11:26 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2006-04-21 11:11:26 +0000 |
commit | 529659ea74eaab44475058b0de88c4772c5a1be3 (patch) | |
tree | 822f744a9dd7e750265a9083000969413b7ef4f9 /multimedia/xine-ui | |
parent | 47137d763d33b043be15f4ef5201f83b76da61a6 (diff) | |
download | pkgsrc-529659ea74eaab44475058b0de88c4772c5a1be3.tar.gz |
fix some format string vulnerabilities, see
http://www.open-security.org/advisories/16
Diffstat (limited to 'multimedia/xine-ui')
-rw-r--r-- | multimedia/xine-ui/Makefile | 5 | ||||
-rw-r--r-- | multimedia/xine-ui/distinfo | 4 | ||||
-rw-r--r-- | multimedia/xine-ui/patches/patch-aq | 31 | ||||
-rw-r--r-- | multimedia/xine-ui/patches/patch-ar | 13 |
4 files changed, 49 insertions, 4 deletions
diff --git a/multimedia/xine-ui/Makefile b/multimedia/xine-ui/Makefile index 5d03b81676f..c8186ad30a7 100644 --- a/multimedia/xine-ui/Makefile +++ b/multimedia/xine-ui/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.24 2006/04/17 13:46:42 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2006/04/21 11:11:26 drochner Exp $ # DISTNAME= xine-ui-0.99.4 -#PKGREVISION= 1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xine/} diff --git a/multimedia/xine-ui/distinfo b/multimedia/xine-ui/distinfo index a1cf820ce7d..ce38c6c5875 100644 --- a/multimedia/xine-ui/distinfo +++ b/multimedia/xine-ui/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2006/04/09 14:43:13 hira Exp $ +$NetBSD: distinfo,v 1.11 2006/04/21 11:11:26 drochner Exp $ SHA1 (xine-ui-0.99.4.tar.gz) = b982e5697f183559c216f9243b9410d61b9c58aa RMD160 (xine-ui-0.99.4.tar.gz) = eeead5c6e566ade5505c8fcb924272c74eb4f49a @@ -12,3 +12,5 @@ SHA1 (patch-al) = d00f3ad348450e209d55ba69c1c053fce7d359b3 SHA1 (patch-am) = 57567b2c1f86ef575ff4abcbfaa5f06e3178a056 SHA1 (patch-ao) = 09e83615b88dffbdfeb0b0bad07dcdc60024ba67 SHA1 (patch-ap) = f4f360e5fc8008882f07c649b7ea29ef163c6731 +SHA1 (patch-aq) = 212d5c561422e5866cdc05cd39c609b1274aa8b6 +SHA1 (patch-ar) = a64614bc76e73a7d0600daee0a72affe2dc6de15 diff --git a/multimedia/xine-ui/patches/patch-aq b/multimedia/xine-ui/patches/patch-aq new file mode 100644 index 00000000000..735ed737e98 --- /dev/null +++ b/multimedia/xine-ui/patches/patch-aq @@ -0,0 +1,31 @@ +$NetBSD: patch-aq,v 1.1 2006/04/21 11:11:26 drochner Exp $ + +--- src/xitk/main.c.orig 2006-04-20 11:59:48.000000000 +0200 ++++ src/xitk/main.c +@@ -456,7 +456,7 @@ static void print_formatted(char *title, + int len; + char *blanks = " "; + +- printf(title); ++ printf("%s", title); + + sprintf(buffer, "%s", blanks); + plugin = *plugins++; +@@ -469,7 +469,7 @@ static void print_formatted(char *title, + sprintf(buffer, "%s%s%s", buffer, (strlen(buffer) == strlen(blanks)) ? "" : ", ", plugin); + } + else { +- printf(buffer); ++ printf("%s", buffer); + printf(",\n"); + snprintf(buffer, sizeof(buffer), "%s%s", blanks, plugin); + } +@@ -478,7 +478,7 @@ static void print_formatted(char *title, + } + + if(strlen(buffer)) +- printf(buffer); ++ printf("%s", buffer); + + printf(".\n\n"); + } diff --git a/multimedia/xine-ui/patches/patch-ar b/multimedia/xine-ui/patches/patch-ar new file mode 100644 index 00000000000..a018321f625 --- /dev/null +++ b/multimedia/xine-ui/patches/patch-ar @@ -0,0 +1,13 @@ +$NetBSD: patch-ar,v 1.1 2006/04/21 11:11:26 drochner Exp $ + +--- src/xitk/xine-toolkit/xitk.c.orig 2006-04-21 12:52:41.000000000 +0200 ++++ src/xitk/xine-toolkit/xitk.c +@@ -1877,7 +1877,7 @@ void xitk_init(Display *display, XColor + sprintf(buffer, "%s%s", buffer, " ]-"); + + if(verbosity) +- printf(buffer); ++ printf("%s", buffer); + + gXitk->wm_type = xitk_check_wm(display); + |