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)
commit5017f9b595da6e5c8f064a43fc6cd42cb62c082a
treebee8f82a0250f724954434b5a5eb19fc8c178ced
parent55fd1c442e747338604ef0075a4a888a40399ddc
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