mirror of
https://github.com/digarok/gsplus.git
synced 2024-05-28 13:41:31 +00:00
buffer overflow :(
This commit is contained in:
parent
1afa610ab2
commit
3ffa1d0e76
|
@ -370,7 +370,7 @@ struct opcode_entry opcode_table[] = {
|
||||||
|
|
||||||
|
|
||||||
/* generate an index of mnemonics to opcodes in the opcode_table */
|
/* generate an index of mnemonics to opcodes in the opcode_table */
|
||||||
struct opcode_entry *opcode_table_index[MNEMONIC_LAST] = { 0 };
|
struct opcode_entry *opcode_table_index[MNEMONIC_LAST+1] = { 0 };
|
||||||
static void init_table_index(void) {
|
static void init_table_index(void) {
|
||||||
unsigned i;
|
unsigned i;
|
||||||
unsigned prev = 0;
|
unsigned prev = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user