summaryrefslogtreecommitdiff
path: root/os-posix.c
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2011-07-09 16:44:41 +0200
committerBlue Swirl <blauwirbel@gmail.com>2011-07-12 21:29:39 +0000
commitb1041a24e7beed162b9c05284bebdbef372190bb (patch)
tree9dc0f51af1225be4cacaf1560769d9f91cfca256 /os-posix.c
parent2a82333128a9eb24064aa07f367a011a7bdb06fa (diff)
downloadqemu-b1041a24e7beed162b9c05284bebdbef372190bb.tar.gz
qemu-b1041a24e7beed162b9c05284bebdbef372190bb.tar.bz2
qemu-b1041a24e7beed162b9c05284bebdbef372190bb.zip
esp: cancel current request only if some request is in flight
This bug was introduced in 94d3f98a3f3caddd7875f9a11776daeb84962a7b: scsi_cancel_io was checking if some request was pending before trying to cancel it, while scsi_req_cancel always cancels the request. This may lead to a crash of Qemu due to dereferencing a NULL pointer, as exhibited by NetBSD 5.1 installer on MIPS Magnum emulation. Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions