diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-03-02 13:26:58 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-03-10 08:15:34 +0300 |
commit | 3d0f44189178aab3a21a33ecf6a113b9abaea2bc (patch) | |
tree | 467b8b699bbe644ac4e60a624ed3d905ca272444 /aio-win32.c | |
parent | c6dc3dd72b747a057770087998a1f9ef0b3f1882 (diff) |
gdbstub: avoid possible NULL pointer dereference
Coverity reports that s->chr is checked after put_packet dereferences it.
Move the check earlier, consistent with the code used for user-mode
emulation.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'aio-win32.c')
0 files changed, 0 insertions, 0 deletions