aboutsummaryrefslogtreecommitdiffstats
path: root/main/motif/12-fix_buffer_overrun_in_libxm.patch
diff options
context:
space:
mode:
authorIsaac Dunham <ibid.ag@gmail.com>2014-11-09 12:34:22 -0800
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-11 08:04:31 +0100
commit882b99e9a7e4725d560c06f84469664aec7fe933 (patch)
tree2240ae9252238ac53b17a4a7545fc6a6854229be /main/motif/12-fix_buffer_overrun_in_libxm.patch
parenta7cd27edd7761a375740ed7fc1d8619c13049d68 (diff)
downloadaports-882b99e9a7e4725d560c06f84469664aec7fe933.tar.bz2
aports-882b99e9a7e4725d560c06f84469664aec7fe933.tar.xz
main/motif: move from testing
Diffstat (limited to 'main/motif/12-fix_buffer_overrun_in_libxm.patch')
-rw-r--r--main/motif/12-fix_buffer_overrun_in_libxm.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/motif/12-fix_buffer_overrun_in_libxm.patch b/main/motif/12-fix_buffer_overrun_in_libxm.patch
new file mode 100644
index 0000000000..227b1c57a3
--- /dev/null
+++ b/main/motif/12-fix_buffer_overrun_in_libxm.patch
@@ -0,0 +1,17 @@
+Description: Fix buffer overrun in libXm (FontS.c)
+Origin: upstream commit dada5ff7f93cb48afaec2469f5dde24178d8d6da
+Bug: http://bugs.motifzone.net/show_bug.cgi?id=1568
+Author: Arthur Haas <ahaas@impactweather.com>
+Author: Graham Inggs <graham@nerve.org.za>
+Last-Update: 2013-02-19
+--- a/lib/Xm/FontS.c
++++ b/lib/Xm/FontS.c
+@@ -1879,7 +1879,7 @@
+ String params[1];
+ Cardinal num = 1;
+
+- params[1] = new_font;
++ params[0] = new_font;
+ dbg(); _XmWarningMsg((Widget) fsw, XmNbadXlfdFont,
+ XmNbadXlfdFontMsg, params, num);
+ }