summaryrefslogtreecommitdiff
path: root/tools/os_support.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-08-17 08:11:58 +0300
committerStefan Roese <sr@denx.de>2021-09-01 09:09:24 +0300
commitf0317d788221828089fe54433cf5c502d748ef77 (patch)
treeeac96cac9cd154b1dc2e284c445ebe3d2cd94c75 /tools/os_support.c
parentf858bb2e6c191da3981838937950cb3c98e488fe (diff)
downloadu-boot-f0317d788221828089fe54433cf5c502d748ef77.tar.xz
kwbimage: check return value of image_get_csk_index
image_get_csk_index() may return -1 in case of an error. Don't use this value as index. This resolves Coverity CID 338488 Memory - illegal accesses (NEGATIVE_RETURNS) Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'tools/os_support.c')
0 files changed, 0 insertions, 0 deletions