6971998e24
When the terminal GDB_FORK_ENABLED state is reached, the coordination
socket is not needed anymore and is therefore closed. However, if there
is a communication error between QEMU gdbstub and GDB, the generic
error handling code attempts to close it again.
Fix by closing it later - before returning - instead.
Fixes: Coverity CID 1539966
Fixes:
|
||
---|---|---|
.. | ||
gdbstub.c | ||
internals.h | ||
meson.build | ||
syscalls.c | ||
system.c | ||
trace-events | ||
trace.h | ||
user-target.c | ||
user.c |