diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-24 20:55:22 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-25 00:04:11 -0300 |
commit | a292b3188c984322f7c637a47becee8992e5b890 (patch) | |
tree | a04955cceb3f28f600b02d4fbb938ffd0e46872e /main/motif/16-fix-undefined-use-of-sprintf.patch | |
parent | c139106d007b240615bf90f5a66fb7556a918a99 (diff) | |
download | aports-a292b3188c984322f7c637a47becee8992e5b890.tar.bz2 aports-a292b3188c984322f7c637a47becee8992e5b890.tar.xz |
community/motif: move from main
Diffstat (limited to 'main/motif/16-fix-undefined-use-of-sprintf.patch')
-rw-r--r-- | main/motif/16-fix-undefined-use-of-sprintf.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/main/motif/16-fix-undefined-use-of-sprintf.patch b/main/motif/16-fix-undefined-use-of-sprintf.patch deleted file mode 100644 index 95a753e083..0000000000 --- a/main/motif/16-fix-undefined-use-of-sprintf.patch +++ /dev/null @@ -1,17 +0,0 @@ -Description: Fix undefined use of sprintf - This patch fixes the undefined use of sprintf when the - source and destination buffers overlap. -Author: Graham Inggs <graham@nerve.org.za> -Forwarded: http://bugs.motifzone.net/show_bug.cgi?id=1628 -Last-Update: 2013-09-24 ---- a/lib/Xm/XmRenderT.c -+++ b/lib/Xm/XmRenderT.c -@@ -2703,7 +2703,7 @@ - number = tlist -> count; - tab = (_XmTab) tlist -> start; - while(number > 0) { -- sprintf(temp, "%s %f %d %d %d, ", temp, tab -> value, -+ sprintf(temp + strlen(temp), " %f %d %d %d, ", tab -> value, - tab -> units, tab -> alignment, tab -> offsetModel); - tab = (_XmTab) tab -> next; - number--; |