commit | 2f9ce97974cbf97c3d0987cad173c6173243661b | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Sun Jan 08 13:42:07 2023 +0100 |
committer | Stefan Roese <sr@denx.de> | Wed Mar 01 06:39:17 2023 +0100 |
tree | 7ab1ec29c00e077447e19c7aed0cc82cbcaa778e | |
parent | e0860660a01864449fdaf328b12056ccd098b860 [diff] |
tools: kwboot: Validate optional kwbimage v1 headers Before starting parsing of kwbimage, first validate that all optional v1 headers and correct. This prevents kwboot crashes on invalid input. Signed-off-by: Pali Rohár <pali@kernel.org>