Skip to content
Snippets Groups Projects
Commit 5accecb3 authored by Kevin Wolf's avatar Kevin Wolf Committed by Michael Tokarev
Browse files

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: default avatarKevin Wolf <kwolf@redhat.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 3c15d3a4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment