summaryrefslogtreecommitdiff
path: root/development/xa/dxa-malloc-patch.txt.1
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-08-19 14:16:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-20 01:40:56 +0700
commit60f1036a684f5b45807ea9e223c35f04cb2dba0b (patch)
tree3f71b898a01a0d7c1c073e69bc9d7495798eeef0 /development/xa/dxa-malloc-patch.txt.1
parent71190e58b85840c57a5fd83662bb78ce1820b6bd (diff)
downloadslackbuilds-60f1036a684f5b45807ea9e223c35f04cb2dba0b.tar.gz
development/xa: Updated for version 2.3.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/xa/dxa-malloc-patch.txt.1')
-rw-r--r--development/xa/dxa-malloc-patch.txt.121
1 files changed, 21 insertions, 0 deletions
diff --git a/development/xa/dxa-malloc-patch.txt.1 b/development/xa/dxa-malloc-patch.txt.1
new file mode 100644
index 0000000000..895ac7b454
--- /dev/null
+++ b/development/xa/dxa-malloc-patch.txt.1
@@ -0,0 +1,21 @@
+--- label.c.orig 2006-11-01 18:23:28.000000000 +0200
++++ label.c 2010-08-31 21:45:43.000000000 +0300
+@@ -40,7 +40,7 @@
+ #include "opcodes.h"
+
+ label *labeltable;
+-char defaultlabel[5];
++char defaultlabel[6];
+ unsigned numLabels = 0;
+
+ #ifndef __STDC__
+@@ -55,7 +55,7 @@
+ label *entry;
+ char *buffer;
+
+- if (!((buffer = malloc (strlen (name)))))
++ if (!((buffer = malloc (strlen (name) + 1))))
+ return;
+
+ entry = numLabels ?
+