]> git.baikalelectronics.ru Git - uboot.git/commit
mkimage: error handling for FIT image
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 1 Mar 2022 07:53:56 +0000 (08:53 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 4 Mar 2022 20:20:06 +0000 (15:20 -0500)
commit0ad3b61afe1a6373ccb8ae550f7d033898f4de3a
treebee8f82a0250f724954434b5a5eb19fc8c178ced
parentbde658e97bdb82cf6131ad697961653b64ecd9a7
mkimage: error handling for FIT image

If parameter -F is given but FIT support is missing, a NULL pointer might
dereferenced (Coverity CID 350249).

If incorrect parameters are given, provide a message and show usage.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
tools/mkimage.c