| commit | d92781c5b966ee700ddaa9525230e677789def96 | [log] [tgz] |
|---|---|---|
| author | Nicola Mazzucato <nicola.mazzucato@arm.com> | Tue Jul 07 17:19:37 2026 +0100 |
| committer | Anton Komlev <Anton.Komlev@arm.com> | Tue Jul 21 11:10:30 2026 +0000 |
| tree | db672f25873d4934c9b6521e88cf2de5eaece4ab | |
| parent | f41bee750cf0d08dd75328bb04e09629704f96a7 [diff] |
corstone1000: fwu: Fix missing destination offset of parse_fmp_header parse_fmp_header() overwrites the beginning of fmp_hdr on every FWU write. Fix it by appending incoming partial header bytes. Also: - use local variables to improve readability - add an overflow check for the incoming size before memcpy Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com> Change-Id: Iefcfe1c9c2479ea4346a56ecb0475483a56ee695