summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-04-21 11:18:52 +0200
committerUlrich Müller <ulm@gentoo.org>2018-04-21 11:18:52 +0200
commit188da234a8a4f522706a340c453d071aa3e847b7 (patch)
tree22751cfc6177afa60e99453fedfdb9907277b858 /patchsets/motif/2.2.3/16_all_mrm_buffer_overflow.patch
parentDrop motif-2.3.5 patchset. (diff)
downloadulm-master.tar.gz
ulm-master.tar.bz2
ulm-master.zip
Drop motif-2.2.3 patchset.HEADmaster
Diffstat (limited to 'patchsets/motif/2.2.3/16_all_mrm_buffer_overflow.patch')
-rw-r--r--patchsets/motif/2.2.3/16_all_mrm_buffer_overflow.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/patchsets/motif/2.2.3/16_all_mrm_buffer_overflow.patch b/patchsets/motif/2.2.3/16_all_mrm_buffer_overflow.patch
deleted file mode 100644
index d4080df..0000000
--- a/patchsets/motif/2.2.3/16_all_mrm_buffer_overflow.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-http://bugs.gentoo.org/340249
-Patch backported from openmotif-2.3.3
-
---- openMotif-2.2.3-orig/lib/Mrm/MrmIheader.c
-+++ openMotif-2.2.3/lib/Mrm/MrmIheader.c
-@@ -228,9 +228,10 @@
-
- {
- /* sscanf() may call ungetc(), which would write the XmConst string. */
-- char buf[XtNumber(idb__database_version) + 1];
-+ char *buf = XtMalloc(strlen(idb__database_version) + 1);
- strcpy(buf, idb__database_version);
- sscanf(buf, "URM %d.%d", &db_major, &db_minor);
-+ XtFree(buf);
- }
-
- if ((file_major > db_major) ||