* PATCH: z8k buffer overrun fix
@ 2005-04-21 20:09 Christian Groessler
0 siblings, 0 replies; only message in thread
From: Christian Groessler @ 2005-04-21 20:09 UTC (permalink / raw)
To: binutils
Hi,
found this while working on the bfd transition.
Ok to apply on the 2.15 branch, too?
regards,
chris
2005-04-21 Christian Groessler <chris@groessler.org>
* config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
array.
Index: tc-z8k.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-z8k.c,v
retrieving revision 1.34
diff -u -p -r1.34 tc-z8k.c
--- tc-z8k.c 23 Feb 2005 12:28:06 -0000 1.34
+++ tc-z8k.c 21 Apr 2005 19:55:19 -0000
@@ -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. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-21 20:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-21 20:09 PATCH: z8k buffer overrun fix Christian Groessler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).