summaryrefslogtreecommitdiffstats
path: root/scripts/modules
diff options
context:
space:
mode:
authorPeter Maydell2018-05-14 19:30:44 +0200
committerMichael Tokarev2018-05-20 07:56:21 +0200
commit2f652224f76c115f6c991766b7acac1e22580954 (patch)
treea63a472ad391c66234a4c09239447a8e7a99fd97 /scripts/modules
parentgdbstub: Use qemu_set_cloexec() (diff)
downloadqemu-2f652224f76c115f6c991766b7acac1e22580954.tar.gz
qemu-2f652224f76c115f6c991766b7acac1e22580954.tar.xz
qemu-2f652224f76c115f6c991766b7acac1e22580954.zip
gdbstub: Handle errors in gdb_accept()
In gdb_accept(), we both fail to check all errors (notably that from socket_set_nodelay(), as Coverity notes in CID 1005666), and fail to return an error status back to our caller. Correct both of these things, so that errors in accept() result in our stopping with a useful error message rather than ignoring it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions