pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/rxvt Add patch to fix CVE-2017-7483.
details: https://anonhg.NetBSD.org/pkgsrc/rev/127cc90e0acb
branches: trunk
changeset: 366172:127cc90e0acb
user: nros <nros%pkgsrc.org@localhost>
date: Sat Aug 05 07:00:20 2017 +0000
description:
Add patch to fix CVE-2017-7483.
Bump PKGREVISION.
diffstat:
x11/rxvt/Makefile | 4 ++--
x11/rxvt/distinfo | 3 ++-
x11/rxvt/patches/patch-src_command.c | 13 +++++++++++++
3 files changed, 17 insertions(+), 3 deletions(-)
diffs (45 lines):
diff -r 2c7886ec18bc -r 127cc90e0acb x11/rxvt/Makefile
--- a/x11/rxvt/Makefile Sat Aug 05 03:03:33 2017 +0000
+++ b/x11/rxvt/Makefile Sat Aug 05 07:00:20 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.59 2017/01/19 18:52:30 agc Exp $
+# $NetBSD: Makefile,v 1.60 2017/08/05 07:00:20 nros Exp $
DISTNAME= rxvt-2.7.10
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rxvt/}
MASTER_SITES+= ftp://mason.primenet.com.au/pub/rxvt/
diff -r 2c7886ec18bc -r 127cc90e0acb x11/rxvt/distinfo
--- a/x11/rxvt/distinfo Sat Aug 05 03:03:33 2017 +0000
+++ b/x11/rxvt/distinfo Sat Aug 05 07:00:20 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2015/11/04 03:28:53 agc Exp $
+$NetBSD: distinfo,v 1.24 2017/08/05 07:00:20 nros Exp $
SHA1 (rxvt-2.7.10.tar.bz2) = 16eae23c3227e28e5e7a53a58eaa3226affe65f9
RMD160 (rxvt-2.7.10.tar.bz2) = 83fab8df589e2413ba820d04bafb069e6af8c445
@@ -16,4 +16,5 @@
SHA1 (patch-ak) = 83f7ffcf91d671bd8e75e5c063fd1336c0e08ed6
SHA1 (patch-al) = 7107ec12205d0a5011a5828f8d30fbd577de41b7
SHA1 (patch-am) = db69ba3b6754454613aa4aec61c1b033d7e013ae
+SHA1 (patch-src_command.c) = ca6af737445f2687e3823bd0d4390e3150f664b1
SHA1 (patch-src_rxvt.h) = 86db6ffc24f1133771b6e94275a9edab07b97437
diff -r 2c7886ec18bc -r 127cc90e0acb x11/rxvt/patches/patch-src_command.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/rxvt/patches/patch-src_command.c Sat Aug 05 07:00:20 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_command.c,v 1.1 2017/08/05 07:00:20 nros Exp $
+* fix CVE-2017-7483
+--- src/command.c.orig 2017-08-05 06:35:48.000000000 +0000
++++ src/command.c
+@@ -2096,7 +2096,7 @@ rxvt_process_csi_seq(rxvt_t *r)
+ i = ch - CSI_ICH;
+ ndef = get_byte_array_bit(csi_defaults, i);
+ for (p = 0; p < nargs; p++)
+- if (arg[p] == -1)
++ if (arg[p] < 0 || arg[p] > 30000)
+ arg[p] = ndef;
+
+ #ifdef DEBUG_CMD
Home |
Main Index |
Thread Index |
Old Index