Skip to content
Commit 30705cd8 authored by Nicolas Heemeryck's avatar Nicolas Heemeryck Committed by Tom Rini
Browse files

tools/imagetool: Fix segfault when tparams->verify_header is NULL



On some image types like i.MX8 and i.MX8M, the verify_header function
is not implemented.

Before this commit, no check on tparams->verify_header was done causing
a segfault if NULL. Now, a proper error message is printed.

Signed-off-by: default avatarNicolas Heemeryck <nicolas.heemeryck@gmail.com>
parent 5d834bfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment