Skip to content

rpi-eeprom-config: Reject oversized bootcode updates - #913

Merged
timg236 merged 1 commit into
raspberrypi:masterfrom
mathewb64:bootcode-size-check
Oct 26, 2026
Merged

timg236 merged 1 commit into
raspberrypi:masterfrom
mathewb64:bootcode-size-check

Conversation

@mathewb64

Copy link
Copy Markdown
Contributor

The new bootcode was written before any size check so a file larger than the space before the next section silently overwrote the sections after it. Validate the size against the parsed layout first and add tests for the AB and non-AB 2712 images.

The new bootcode was written before any size check so a file larger
than the space before the next section silently overwrote the sections
after it. Validate the size against the parsed layout first and add
tests for the AB and non-AB 2712 images.
@timg236
timg236 merged commit f54693e into raspberrypi:master Oct 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants