-
Paolo Bonzini authored
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>Paolo Bonzini authoredCoverity 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>
Loading