commit | 53ee6ec82744666719f2c9954a013c4397b77be9 | [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 | 7665ed2fa04e0726e142e13bcd77b738e912357f [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>