Commit 0812a81
committed
[nrf fromtree] bootutil: Temporarly drop mem cleanup from boot_state_clear
Temporal removal of memset clear of boot_sector_clear that
was causing boot to stop.
The problem happens due to fill_rsp assigning pointer to header
stored in cleared boot_state object, and the memset makes it inaccessible.
Once change where header is copied to rsp the memset should be brought
back as the boot_loader state should be completed before we pass
further in execution.
Fixes #2535
(cherry picked from commit e6fefac)
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>1 parent 6a8c5fc commit 0812a81
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
| 716 | + | |
| 717 | + | |
716 | 718 | | |
717 | | - | |
718 | 719 | | |
0 commit comments