]> git.ipfire.org Git - thirdparty/qemu.git/commit
ahci: Do not unmap NULL addresses
authorJohn Snow <jsnow@redhat.com>
Wed, 10 Feb 2016 18:29:40 +0000 (13:29 -0500)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 22 Mar 2016 22:35:36 +0000 (17:35 -0500)
commitaaf4fb6afb4653c86059255811886a5c4ea271f3
tree9b83611ec5739c72e1cb5a0f9453ee61018cc8a9
parenta2ae168821a5ef2b000a3e61837a77ba8cc43013
ahci: Do not unmap NULL addresses

Definitely don't try to unmap a garbage address.

Reported-by: Zuozhi fzz <zuozhi.fzz@alibaba-inc.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1454103689-13042-2-git-send-email-jsnow@redhat.com
(cherry picked from commit 99b4cb71069f109b79b27bc629fc0cf0886dbc4b)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/ide/ahci.c