diff options
author | Kevin Wolf <kwolf@redhat.com> | 2015-10-13 09:38:50 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-11-06 15:42:37 +0300 |
commit | 5accecb3a6b49d8ca79684179610583e9c7c1bf5 (patch) | |
tree | c25fc582b801c29a2b9ccebb14921cf388eb6433 /arch_init.c | |
parent | 3c15d3a45045de82c744c49ff471d4c7ba405187 (diff) |
gdbstub: Fix buffer overflows in gdb_handle_packet()
Some places in gdb_handle_packet() can get an arbitrary length (most
times directly from the client) and either didn't check it at all or
checked against the wrong value, potentially causing buffer overflows.
Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'arch_init.c')
0 files changed, 0 insertions, 0 deletions