Skip to content
Commit 2e40aad2 authored by Kevin Wolf's avatar Kevin Wolf Committed by Michael Roth
Browse files

commit: Add NULL check for overlay_bs



I can't see how overlay_bs could become NULL with the current code, but
other code in this function already checks it and we can make Coverity
happy with this check, so let's add it.

Cc: qemu-stable@nongnu.org
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit b1e1fa0c)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 70da03f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment