diff options
author | Nicolas Heemeryck | 2022-04-20 23:58:39 +0200 |
---|---|---|
committer | Tom Rini | 2022-05-05 15:06:02 -0400 |
commit | 30705cd89271ea05ff6c65552af3dc4f0680a03c (patch) | |
tree | cc67b6846b91d3ccd707875fd0dab806a3b87631 /drivers/serial | |
parent | 5d834bfa5fa61dc9dff94a92672c0a1185cb3a83 (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>
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions