Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9005774b27b6aa5e1c99d80bd59d5d048c2f7077
      
https://github.com/qemu/qemu/commit/9005774b27b6aa5e1c99d80bd59d5d048c2f7077
  Author: Philippe Mathieu-Daudé <f4...@amsat.org>
  Date:   2018-04-09 (Mon, 09 Apr 2018)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  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é <f4...@amsat.org>
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
Message-id: 20180408145933.1149-1-f4...@amsat.org
Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>


Reply via email to