pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/rxvt



Module Name:    pkgsrc
Committed By:   nros
Date:           Sat Aug  5 07:00:20 UTC 2017

Modified Files:
        pkgsrc/x11/rxvt: Makefile distinfo
Added Files:
        pkgsrc/x11/rxvt/patches: patch-src_command.c

Log Message:
Add patch to fix CVE-2017-7483.
Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/x11/rxvt/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/x11/rxvt/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/rxvt/patches/patch-src_command.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/rxvt/Makefile
diff -u pkgsrc/x11/rxvt/Makefile:1.59 pkgsrc/x11/rxvt/Makefile:1.60
--- pkgsrc/x11/rxvt/Makefile:1.59       Thu Jan 19 18:52:30 2017
+++ pkgsrc/x11/rxvt/Makefile    Sat Aug  5 07:00:20 2017
@@ -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/

Index: pkgsrc/x11/rxvt/distinfo
diff -u pkgsrc/x11/rxvt/distinfo:1.23 pkgsrc/x11/rxvt/distinfo:1.24
--- pkgsrc/x11/rxvt/distinfo:1.23       Wed Nov  4 03:28:53 2015
+++ pkgsrc/x11/rxvt/distinfo    Sat Aug  5 07:00:20 2017
@@ -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-aj) = 43ca25f034e6160f3a3dab
 SHA1 (patch-ak) = 83f7ffcf91d671bd8e75e5c063fd1336c0e08ed6
 SHA1 (patch-al) = 7107ec12205d0a5011a5828f8d30fbd577de41b7
 SHA1 (patch-am) = db69ba3b6754454613aa4aec61c1b033d7e013ae
+SHA1 (patch-src_command.c) = ca6af737445f2687e3823bd0d4390e3150f664b1
 SHA1 (patch-src_rxvt.h) = 86db6ffc24f1133771b6e94275a9edab07b97437

Added files:

Index: pkgsrc/x11/rxvt/patches/patch-src_command.c
diff -u /dev/null pkgsrc/x11/rxvt/patches/patch-src_command.c:1.1
--- /dev/null   Sat Aug  5 07:00:20 2017
+++ pkgsrc/x11/rxvt/patches/patch-src_command.c Sat Aug  5 07:00:20 2017
@@ -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