]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
merge from HEAD (1.35):
authorChristian Groessler <chris@groessler.org>
Thu, 28 Apr 2005 17:20:34 +0000 (17:20 +0000)
committerChristian Groessler <chris@groessler.org>
Thu, 28 Apr 2005 17:20:34 +0000 (17:20 +0000)
* config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
array.

gas/config/tc-z8k.c

index 97f1341eda910530032fe38485e3255ea438f813..6937f2c72b9b9ceb1a81c4394c60d29fbe9df9d7 100644 (file)
@@ -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.  */