aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Groessler <chris@groessler.org>2005-04-21 20:03:57 +0000
committerChristian Groessler <chris@groessler.org>2005-04-21 20:03:57 +0000
commitd8cbebfd34f62bb826bbbb90a192413de3f31dc6 (patch)
tree2082d5ebecf51c83e019bc2d8d544bda7b2a626b
parent78a0fd579cff3adaf9a83169053f65e2749074ca (diff)
downloadgdb-d8cbebfd34f62bb826bbbb90a192413de3f31dc6.zip
gdb-d8cbebfd34f62bb826bbbb90a192413de3f31dc6.tar.gz
gdb-d8cbebfd34f62bb826bbbb90a192413de3f31dc6.tar.bz2
* config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
array.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-z8k.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a6fb06e..9e3d26d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-21 Christian Groessler <chris@groessler.org>
+
+ * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
+ array.
+
2005-04-20 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-aout.h (S_IS_EXTERN): Removed.
diff --git a/gas/config/tc-z8k.c b/gas/config/tc-z8k.c
index 97f1341..6937f2c 100644
--- a/gas/config/tc-z8k.c
+++ b/gas/config/tc-z8k.c
@@ -1182,7 +1182,7 @@ md_assemble (char *str)
char c;
char *op_start;
char *op_end;
- struct z8k_op operand[3];
+ struct z8k_op operand[4];
opcode_entry_type *opcode;
/* Drop leading whitespace. */