]> Git Repo - qemu.git/commit
gdbstub: fix off-by-one in gdb_handle_packet()
authorPhilippe Mathieu-Daudé <[email protected]>
Sun, 8 Apr 2018 14:59:33 +0000 (11:59 -0300)
committerPeter Maydell <[email protected]>
Mon, 9 Apr 2018 13:18:39 +0000 (14:18 +0100)
commit9005774b27b6aa5e1c99d80bd59d5d048c2f7077
tree1661fcdfa8b14b233ac003124ef8f260695dd84c
parentb2c1742da0c79dd52080260edacaf0a7b6d309e5
gdbstub: fix off-by-one in gdb_handle_packet()

memtohex() adds an extra trailing NUL character.

Reported-by: AddressSanitizer
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Message-id: 20180408145933[email protected]
Signed-off-by: Peter Maydell <[email protected]>
gdbstub.c
This page took 0.029784 seconds and 4 git commands to generate.