]> xenbits.xensource.com Git - osstest/seabios.git/commit
Make sure all code checks for malloc failures
authorKevin O'Connor <kevin@koconnor.net>
Tue, 30 Jun 2015 15:10:41 +0000 (11:10 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 4 Jul 2015 18:23:01 +0000 (14:23 -0400)
commit3abdc7c018c727b96549930d2929623ca381fff7
tree27ff8afdb34f608875fc0fa5edf9a81ab94a4354
parent1202f03583f3b8b46e2de6b82630054d53e24801
Make sure all code checks for malloc failures

This is the result of an audit of callers of the malloc_XXX() and
memalign_XXX() calls.  All callers need to check if these functions
return NULL.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/cdrom.c
src/hw/ahci.c
src/hw/megasas.c
src/hw/ramdisk.c
src/hw/usb-xhci.c
src/hw/usb.c