+15
−4
Loading
boot_copy_region() was written so it assumes that the image header
must fit int the intermediary buffer of 1 KB size. A bigger header
will cause a overflow in calculation of size of data chunk to be
decrypted.
This patch allow to use header bigger than that buffer size and
mitigate the limitation described above.
Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
CRA Git | Maintained and supported by SUSTech CRA and CCSE