summaryrefslogtreecommitdiff
path: root/src/lib/gcov-glue.c
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2015-02-22 16:45:01 +0100
committerPatrick Georgi <pgeorgi@google.com>2015-02-23 21:59:25 +0100
commit536e560d76157c784683d4aed690c819219afdcc (patch)
tree2cdc1c8e86aca26c9fc15631fad91edb2aa57bcb /src/lib/gcov-glue.c
parente6619427854bec4511c94c62d3dec14987030424 (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/lib/gcov-glue.c')
0 files changed, 0 insertions, 0 deletions