commit | 9d6a3d58e4d1431ab3809ff621cfd1f9ec75eef5 | [log] [tgz] |
---|---|---|
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | Tue Jun 18 19:18:59 2013 +1000 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Wed Jul 10 10:53:45 2013 -0500 |
tree | dab0b5d3704708e1dbe79e4e138a077b9090a4a2 | |
parent | c1b71b0c03df575c72ea413b2f2c27a7a477c05a [diff] |
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>