What changed, and why it matters
This commit changes the default on-screen font used by the bootloader from an 11x10 pixel font to a 9x9 pixel font. The only stated purpose is to make the bootloader firmware file smaller by avoiding inclusion of the larger font's data table. There is no indication this fixes a security vulnerability.
No security action required. Treat as a normal firmware size optimization.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In src/screen.c, screen_init() now passes &font_font_a_9X9 to UG_Init when BOOTLOADER is defined, instead of always using &font_font_a_11X10. This is a size-optimization change: the 11x10 font table is no longer linked into bootloader images, reducing the bootloader binary by roughly 2 KB. The bootloader and Abort paths already explicitly selected the 9x9 font before rendering, so this only aligns the default initialization with actual runtime behavior.
Changed components
src/screen.cbootloader display initializationInspect captured patch +4 / −0
diff --git a/src/screen.c b/src/screen.c
index 0f77566..75d4659 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -102,7 +102,11 @@ void screen_init(
{
_mirror_fn = mirror_fn;
_clear_fn = clear_fn;
+#ifdef BOOTLOADER
+ UG_Init(&guioled, pixel_fn, &font_font_a_9X9, SCREEN_WIDTH, SCREEN_HEIGHT);
+#else
UG_Init(&guioled, pixel_fn, &font_font_a_11X10, SCREEN_WIDTH, SCREEN_HEIGHT);
+#endif
}
void screen_clear(void)
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.