From d8cbebfd34f62bb826bbbb90a192413de3f31dc6 Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Thu, 21 Apr 2005 20:03:57 +0000 Subject: [PATCH] * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[] array. --- gas/ChangeLog | 5 +++++ gas/config/tc-z8k.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[] + array. + 2005-04-20 H.J. Lu * 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. */ -- 2.7.4