[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 83ea23: i386: hvf: Fix overrun of _decode_tbl

From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 83ea23: i386: hvf: Fix overrun of _decode_tbl1
Date: Mon, 03 Dec 2018 07:10:29 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 83ea23cd207a03c5736be0231acbf7f8b05dbf52
  Author: Roman Bolshakov <address@hidden>
  Date:   2018-12-03 (Mon, 03 Dec 2018)

  Changed paths:
    M target/i386/hvf/x86_decode.c

  Log Message:
  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
  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 <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>

      **NOTE:** This service has been marked for deprecation: 

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]