-
Paolo Bonzini authored
Some objects accidentally inherit ObjectClass instead of Object. They compile silently but may crash after downcasting. In this patch, we introduce a coccinelle script to find broken declarations and fix them manually with proper base type. Signed-off-by:
Sergey Nizovtsev <snizovtsev@gmail.com>
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>Paolo Bonzini authoredSome objects accidentally inherit ObjectClass instead of Object. They compile silently but may crash after downcasting. In this patch, we introduce a coccinelle script to find broken declarations and fix them manually with proper base type. Signed-off-by:
Sergey Nizovtsev <snizovtsev@gmail.com>
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Loading