summaryrefslogtreecommitdiff
path: root/x11/rxvt-unicode/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'x11/rxvt-unicode/patches/patch-ab')
-rw-r--r--x11/rxvt-unicode/patches/patch-ab12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11/rxvt-unicode/patches/patch-ab b/x11/rxvt-unicode/patches/patch-ab
index f821379065c..bb3f651ffc9 100644
--- a/x11/rxvt-unicode/patches/patch-ab
+++ b/x11/rxvt-unicode/patches/patch-ab
@@ -1,10 +1,10 @@
-$NetBSD: patch-ab,v 1.4 2008/04/03 22:36:52 tonnerre Exp $
+$NetBSD: patch-ab,v 1.5 2009/03/06 00:20:27 snj Exp $
Fix default display vulnerability (CVE-2008-1142).
---- src/init.C.orig 2007-08-01 19:35:02.000000000 +0200
-+++ src/init.C
-@@ -299,11 +299,13 @@ rxvt_term::init_resources (int argc, con
+--- src/init.C.orig 2009-02-23 15:19:50.000000000 -0800
++++ src/init.C 2009-02-23 15:20:33.000000000 -0800
+@@ -372,11 +372,13 @@ rxvt_term::init_resources (int argc, con
* Open display, get options/resources and create the window
*/
@@ -18,5 +18,5 @@ Fix default display vulnerability (CVE-2008-1142).
+ rxvt_fatal ("no display given and DISPLAY not set, aborting.\n");
+
if (!(display = displays.get (rs[Rs_display_name])))
- rxvt_fatal ("can't open display %s, aborting.\n", rs[Rs_display_name]);
-
+ {
+ free (r_argv);