commit | 7ba97fa4af6bd471afa1f5a5dada42185bcb54d8 | [log] [tgz] |
---|---|---|
author | Nicolas Heemeryck <nicolas.heemeryck@gmail.com> | Wed Apr 20 23:58:39 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu May 05 15:06:02 2022 -0400 |
tree | cc67b6846b91d3ccd707875fd0dab806a3b87631 | |
parent | 59d1a71f12cb68e9a9dee7713c1dd35d15ebf186 [diff] |
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: Nicolas Heemeryck <nicolas.heemeryck@gmail.com>