Am 15.01.2011 19:01, schrieb Stefan Weil:
> With bm == NULL, other code in the same function would crash.
>
> This bug was reported by cppcheck:
> hw/ide/pci.c:280: error: Possible null pointer dereference: bm
>
> Cc: Michael S. Tsirkin
> Signed-off-by: Stefan Weil
Thanks, applied to the block
With bm == NULL, other code in the same function would crash.
This bug was reported by cppcheck:
hw/ide/pci.c:280: error: Possible null pointer dereference: bm
Cc: Michael S. Tsirkin
Signed-off-by: Stefan Weil
---
hw/ide/pci.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff