diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2015-02-22 16:45:01 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-02-23 21:59:25 +0100 |
commit | 536e560d76157c784683d4aed690c819219afdcc (patch) | |
tree | 2cdc1c8e86aca26c9fc15631fad91edb2aa57bcb /src/mainboard/intel/minnowmax/Kconfig | |
parent | e6619427854bec4511c94c62d3dec14987030424 (diff) |
libpayload: Improve sanity checking in UHCI driver
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>
Diffstat (limited to 'src/mainboard/intel/minnowmax/Kconfig')
0 files changed, 0 insertions, 0 deletions