summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-03-20 09:06:54 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-03-20 09:06:54 +0000
commita2bf7b57c617d24169ef39b9ee3c766f4cd98d34 (patch)
treebeaaa6ffb8de31078a0c90777c1cd381cce7d4a8 /x11-terms/rxvt/files
parentUnmask (diff)
downloadhistorical-a2bf7b57c617d24169ef39b9ee3c766f4cd98d34.tar.gz
historical-a2bf7b57c617d24169ef39b9ee3c766f4cd98d34.tar.bz2
historical-a2bf7b57c617d24169ef39b9ee3c766f4cd98d34.zip
Security update
Diffstat (limited to 'x11-terms/rxvt/files')
-rw-r--r--x11-terms/rxvt/files/digest-rxvt-2.7.8-r61
-rw-r--r--x11-terms/rxvt/files/rxvt-2.7.8-security.patch41
2 files changed, 42 insertions, 0 deletions
diff --git a/x11-terms/rxvt/files/digest-rxvt-2.7.8-r6 b/x11-terms/rxvt/files/digest-rxvt-2.7.8-r6
new file mode 100644
index 000000000000..d71a447c4606
--- /dev/null
+++ b/x11-terms/rxvt/files/digest-rxvt-2.7.8-r6
@@ -0,0 +1 @@
+MD5 e91b733b4f480f218db4b3b331ea42f6 rxvt-2.7.8.tar.gz 488213
diff --git a/x11-terms/rxvt/files/rxvt-2.7.8-security.patch b/x11-terms/rxvt/files/rxvt-2.7.8-security.patch
new file mode 100644
index 000000000000..109f32434e7d
--- /dev/null
+++ b/x11-terms/rxvt/files/rxvt-2.7.8-security.patch
@@ -0,0 +1,41 @@
+diff -ur rxvt-2.7.6/src/command.c rxvt-2.7.6-new/src/command.c
+--- rxvt-2.7.6/src/command.c Tue Feb 25 13:29:15 2003
++++ rxvt-2.7.6-new/src/command.c Tue Feb 25 13:27:23 2003
+@@ -2260,8 +2260,11 @@
+ * rxvt_menubar_dispatch() violates the constness of the string,
+ * so do it here
+ */
+- if (arg == XTerm_Menu)
++ if (arg == XTerm_Menu) {
++#if 0 /* SECURITY */
+ rxvt_menubar_dispatch(r, (char *)s);
++#endif
++ }
+ else
+ rxvt_xterm_seq(r, arg, (char *)s, eh);
+ free(s);
+@@ -2300,6 +2303,7 @@
+
+ assert(str != NULL);
+ switch (op) {
++
+ case XTerm_name:
+ rxvt_set_title(r, str);
+ /* FALLTHROUGH */
+@@ -2375,12 +2379,15 @@
+ case XTerm_font:
+ rxvt_change_font(r, 0, str);
+ break;
++#if 0 /* SECURITY! */
+ case XTerm_dumpscreen: /* no error notices */
+ if ((fd = open(str, O_RDWR | O_CREAT | O_EXCL, 0600)) >= 0) {
+ rxvt_scr_dump(r, fd);
+ close(fd);
+ }
+ break;
++#endif
++
+ }
+ }
+ /*----------------------------------------------------------------------*/
+