trezor-firmware icon indicating copy to clipboard operation
trezor-firmware copied to clipboard

Fix memory clearing in boardloader

Open cepetr opened this issue 1 year ago • 0 comments

This PR fixed memory clearing during the transition from the boardloader to the bootloader.

Prior to this change, the memory was filled with potentially uninitialized values. After this change, the memory is correctly set to zero as expected. This bug did not pose any security issues since the memory was always overwritten.

Additionally, the unused jump_to_unprivileged function has been removed in this PR.

cepetr avatar Jun 21 '24 08:06 cepetr