From 7ff42648478c77e5b10e4e082d0af0899b404d70 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Thu, 10 Apr 2008 13:05:07 +0000 Subject: [PATCH] 2008-04-10 Andreas Krebbel * s390-mkopc.c (insertExpandedMnemonic): Expand string sizes of local variables used for mnemonic parsing: prefix, suffix and number. --- opcodes/ChangeLog | 6 ++++++ opcodes/s390-mkopc.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index f90038d5bd1..456d5884ec9 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2008-04-10 Andreas Krebbel + + * s390-mkopc.c (insertExpandedMnemonic): Expand string sizes + of local variables used for mnemonic parsing: prefix, suffix and + number. + 2008-04-10 Andreas Krebbel * s390-mkopc.c (s390_cond_ext_format): Add back the mnemonic diff --git a/opcodes/s390-mkopc.c b/opcodes/s390-mkopc.c index 7274bdce08e..126d5a94bca 100644 --- a/opcodes/s390-mkopc.c +++ b/opcodes/s390-mkopc.c @@ -177,9 +177,9 @@ insertExpandedMnemonic (char *opcode, char *mnemonic, char *format, int min_cpu, int mode_bits) { char *tag; - char prefix[5]; - char suffix[5]; - char number[5]; + char prefix[15]; + char suffix[15]; + char number[15]; int mask_start, i = 0, tag_found = 0, reading_number = 0; int number_p = 0, suffix_p = 0, prefix_p = 0; const struct s390_cond_ext_format *ext_table; -- 2.30.2