qemu-e2k/qom
Paolo Bonzini b7f43fe460 qom: dynamic_cast of NULL is always NULL
Trying to cast a NULL value will cause a crash.  Returning
NULL is also sensible, and it is also what the type-unsafe
DO_UPCAST macro does.

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-11-26 09:38:54 -06:00
..
container.c
cpu.c
Makefile.objs
object.c qom: dynamic_cast of NULL is always NULL 2012-11-26 09:38:54 -06:00
qom-qobject.c