commit | 5accecb3a6b49d8ca79684179610583e9c7c1bf5 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Tue Oct 13 09:38:50 2015 +0200 |
committer | Michael Tokarev <mjt@tls.msk.ru> | Fri Nov 06 15:42:37 2015 +0300 |
tree | c25fc582b801c29a2b9ccebb14921cf388eb6433 | |
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>