diff options
author | Roman Bolshakov | 2018-12-03 11:04:14 +0100 |
---|---|---|
committer | Peter Maydell | 2018-12-03 16:09:55 +0100 |
commit | 83ea23cd207a03c5736be0231acbf7f8b05dbf52 (patch) | |
tree | f2a8f6f5caa856ce3a157936b5122f6322a86e03 /net/net.c | |
parent | i2c: Add a length check to the SMBus write handling (diff) | |
download | qemu-83ea23cd207a03c5736be0231acbf7f8b05dbf52.tar.gz qemu-83ea23cd207a03c5736be0231acbf7f8b05dbf52.tar.xz qemu-83ea23cd207a03c5736be0231acbf7f8b05dbf52.zip |
i386: hvf: Fix overrun of _decode_tbl1
Single opcode instructions in ff group were incorrectly processed
because an overrun of _decode_tbl1[0xff] resulted in access of
_decode_tbl2[0x0]. Thus, decode_sldtgroup was called instead of
decode_ffgroup:
7d71: decode_sldtgroup: 1
Unimplemented handler (7d71) for 108 (ff 0)
While at it correct maximum length for _decode_tbl2 and _decode_tbl3.
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'net/net.c')
0 files changed, 0 insertions, 0 deletions