]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
ide/atapi: Fix START STOP UNIT command completion (CVE-2015-5154)
authorKevin Wolf <kwolf@redhat.com>
Mon, 27 Jul 2015 03:42:53 +0000 (23:42 -0400)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 29 Jul 2015 15:40:34 +0000 (15:40 +0000)
commit51fd36f69fa0f8dfeb51ca1dfd9488f3a2fa602c
tree6f870055dca9bd839f0d7a08daa2cc64c641e608
parent38cdb298d664d0d4e40e0bc890d8f25ff25e8a86
ide/atapi: Fix START STOP UNIT command completion (CVE-2015-5154)

The command must be completed on all code paths. START STOP UNIT with
pwrcnd set should succeed without doing anything.

upstream-commit-id: 03441c3a4a42beb25460dd11592539030337d0f8

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/ide/atapi.c