summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-15 00:44:50 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-15 00:44:50 +0000
commit7a6522b68abbdecbd764545e9e0c91adb2754ed2 (patch)
tree30d468f867f9559e3bef3a4385e12d568e8ff025 /app-emulation/vice/files
parentversion bump, remove buggy version (Manifest recommit) (diff)
downloadgentoo-2-7a6522b68abbdecbd764545e9e0c91adb2754ed2.tar.gz
gentoo-2-7a6522b68abbdecbd764545e9e0c91adb2754ed2.tar.bz2
gentoo-2-7a6522b68abbdecbd764545e9e0c91adb2754ed2.zip
add patch to fix bug #53903 "monitor memory dump format string vulnerability"
Diffstat (limited to 'app-emulation/vice/files')
-rw-r--r--app-emulation/vice/files/1.14-console-security.patch104
-rw-r--r--app-emulation/vice/files/digest-vice-1.14-r11
2 files changed, 105 insertions, 0 deletions
diff --git a/app-emulation/vice/files/1.14-console-security.patch b/app-emulation/vice/files/1.14-console-security.patch
new file mode 100644
index 000000000000..9a2e42bcd70e
--- /dev/null
+++ b/app-emulation/vice/files/1.14-console-security.patch
@@ -0,0 +1,104 @@
+Index: vice/src/arch/beos/uimon.c
+===================================================================
+RCS file: /var/lib/cvs/cbm/vice/src/arch/beos/uimon.c,v
+retrieving revision 1.9
+retrieving revision 1.9.10.1
+diff -u -r1.9 -r1.9.10.1
+--- vice/src/arch/beos/uimon.c 18 Mar 2004 19:12:57 -0000 1.9
++++ vice/src/arch/beos/uimon.c 8 Jun 2004 19:40:56 -0000 1.9.10.1
+@@ -72,7 +72,7 @@
+ {
+ va_start(ap, format);
+ buffer = lib_mvsprintf(format, ap);
+- rc = console_out(console_log, buffer);
++ rc = console_out(console_log, "%s", buffer);
+ lib_free(buffer);
+ }
+ return rc;
+Index: vice/src/arch/msdos/uimon.c
+===================================================================
+RCS file: /var/lib/cvs/cbm/vice/src/arch/msdos/uimon.c,v
+retrieving revision 1.10
+retrieving revision 1.10.10.1
+diff -u -r1.10 -r1.10.10.1
+--- vice/src/arch/msdos/uimon.c 18 Mar 2004 19:12:57 -0000 1.10
++++ vice/src/arch/msdos/uimon.c 8 Jun 2004 19:41:01 -0000 1.10.10.1
+@@ -70,7 +70,7 @@
+ if (console_log) {
+ va_start(ap, format);
+ buffer = lib_mvsprintf(format, ap);
+- rc = console_out(console_log, buffer);
++ rc = console_out(console_log, "%s", buffer);
+ lib_free(buffer);
+ }
+ return rc;
+Index: vice/src/arch/riscos/uimon.c
+===================================================================
+RCS file: /var/lib/cvs/cbm/vice/src/arch/riscos/uimon.c,v
+retrieving revision 1.10
+retrieving revision 1.10.10.1
+diff -u -r1.10 -r1.10.10.1
+--- vice/src/arch/riscos/uimon.c 18 Mar 2004 19:12:58 -0000 1.10
++++ vice/src/arch/riscos/uimon.c 8 Jun 2004 19:41:04 -0000 1.10.10.1
+@@ -72,7 +72,7 @@
+ {
+ va_start(ap, format);
+ buffer = lib_mvsprintf(format, ap);
+- rc = console_out(console_log, buffer);
++ rc = console_out(console_log, "%s", buffer);
+ lib_free(buffer);
+ }
+ return rc;
+Index: vice/src/arch/unix/uimon.c
+===================================================================
+RCS file: /var/lib/cvs/cbm/vice/src/arch/unix/uimon.c,v
+retrieving revision 1.12
+retrieving revision 1.12.4.1
+diff -u -r1.12 -r1.12.4.1
+--- vice/src/arch/unix/uimon.c 3 May 2004 06:09:12 -0000 1.12
++++ vice/src/arch/unix/uimon.c 8 Jun 2004 19:41:09 -0000 1.12.4.1
+@@ -76,7 +76,7 @@
+ {
+ va_start(ap, format);
+ buffer = lib_mvsprintf(format, ap);
+- rc = console_out(console_log, buffer);
++ rc = console_out(console_log, "%s", buffer);
+ lib_free(buffer);
+ }
+ return rc;
+Index: vice/src/arch/win32/uimon.c
+===================================================================
+RCS file: /var/lib/cvs/cbm/vice/src/arch/win32/uimon.c,v
+retrieving revision 1.36
+retrieving revision 1.36.2.1
+diff -u -r1.36 -r1.36.2.1
+--- vice/src/arch/win32/uimon.c 24 May 2004 10:30:02 -0000 1.36
++++ vice/src/arch/win32/uimon.c 8 Jun 2004 19:21:23 -0000 1.36.2.1
+@@ -2160,7 +2160,7 @@
+ {
+ va_start(ap, format);
+ buffer = lib_mvsprintf(format, ap);
+- rc = console_out(console_log, buffer);
++ rc = console_out(console_log, "%s", buffer);
+ lib_free(buffer);
+ }
+ return rc;
+
+Index: vice/src/monitor/mon_util.c
+===================================================================
+RCS file: /var/lib/cvs/cbm/vice/src/monitor/mon_util.c,v
+retrieving revision 1.13
+retrieving revision 1.13.10.1
+diff -u -r1.13 -r1.13.10.1
+--- vice/src/monitor/mon_util.c 19 Mar 2004 09:55:01 -0000 1.13
++++ vice/src/monitor/mon_util.c 8 Jun 2004 19:21:49 -0000 1.13.10.1
+@@ -48,7 +48,7 @@
+ va_start(ap, format);
+ buffer = lib_mvsprintf(format, ap);
+
+- rc = uimon_out(buffer);
++ rc = uimon_out("%s", buffer);
+ lib_free(buffer);
+
+ if (rc < 0)
+
diff --git a/app-emulation/vice/files/digest-vice-1.14-r1 b/app-emulation/vice/files/digest-vice-1.14-r1
new file mode 100644
index 000000000000..8b3d7db6170d
--- /dev/null
+++ b/app-emulation/vice/files/digest-vice-1.14-r1
@@ -0,0 +1 @@
+MD5 f25df1b8de2bbb536facbc05fcfa1db2 vice-1.14.tar.gz 3794698