summaryrefslogtreecommitdiffstats
path: root/target-mips/helper.c
diff options
context:
space:
mode:
authorPeter Crosthwaite2013-06-18 11:18:59 +0200
committerAnthony Liguori2013-07-10 17:53:45 +0200
commit9d6a3d58e4d1431ab3809ff621cfd1f9ec75eef5 (patch)
treedab0b5d3704708e1dbe79e4e138a077b9090a4a2 /target-mips/helper.c
parentvl: Tighten parsing of -machine option phandle_start (diff)
downloadqemu-9d6a3d58e4d1431ab3809ff621cfd1f9ec75eef5.tar.gz
qemu-9d6a3d58e4d1431ab3809ff621cfd1f9ec75eef5.tar.xz
qemu-9d6a3d58e4d1431ab3809ff621cfd1f9ec75eef5.zip
qom: Fix class cast of NULL classes
Its clear from the implementation that class casting is supposed to work with a NULL class argument. Guard all dereferences of the class argument against NULL accordingly. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-id: 94cd5ba46b74eea289a7e582635820c1c54e66fa.1371546907.git.peter.crosthwaite@xilinx.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-mips/helper.c')
0 files changed, 0 insertions, 0 deletions