* config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
authorChristian Groessler <chris@groessler.org>
Thu, 21 Apr 2005 20:03:57 +0000 (20:03 +0000)
committerChristian Groessler <chris@groessler.org>
Thu, 21 Apr 2005 20:03:57 +0000 (20:03 +0000)
array.

gas/ChangeLog
gas/config/tc-z8k.c

index a6fb06e85978af8dbaa42298e9612aaa8a971b16..9e3d26d8756aa850e86b7d5e28a9902f4e9acaa9 100644 (file)
@@ -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.
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.  */