536e560d76
Test for devno != -1 before trying to access array[devno] (which may be array[-1]). Change-Id: Ia69cc7eba0335f02bb0efec003a320a3c0646acb Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Found-by: Coverity Scan Reviewed-on: http://review.coreboot.org/8509 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> |
||
---|---|---|
.. | ||
serial | ||
storage | ||
timer | ||
usb | ||
video | ||
cbmem_console.c | ||
hid.c | ||
keyboard.c | ||
Makefile.inc | ||
nvram.c | ||
options.c | ||
pci.c | ||
serial.c | ||
speaker.c |