aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-z8k.c
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 /gas/config/tc-z8k.c
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.
Diffstat (limited to 'gas/config/tc-z8k.c')
-rw-r--r--gas/config/tc-z8k.c2
1 files changed, 1 insertions, 1 deletions
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. */