]> Git Repo - J-u-boot.git/commit - tools/imx8image.c
tools: imx8image: fix coverity CID 184234
authorPeng Fan <[email protected]>
Mon, 5 Nov 2018 09:53:25 +0000 (09:53 +0000)
committerStefano Babic <[email protected]>
Tue, 6 Nov 2018 10:23:45 +0000 (11:23 +0100)
commitdf439e938ceb5165297c3e34b6485af0238608ef
treeeca3e3b99f945694622f28b6be40c574aaf321ed
parentfc61cc2ca3bab8fdf38572eb1ccfa6674999c8b8
tools: imx8image: fix coverity CID 184234

Fix:
CID 184234:    (TAINTED_SCALAR)
Using tainted variable "header.num_images - 1" as an index into an array "header.img".

Reported-by: Coverity
Signed-off-by: Peng Fan <[email protected]>
tools/imx8image.c
This page took 0.032951 seconds and 4 git commands to generate.