Skip to content

Commit 8342aae

Browse files
schodetdlech
authored andcommitted
pbio/drv/display: Fix out of bound access in splash boot logo.
There was a missing last index in the table, the decompression code behavior was depending on the next half-word in memory.
1 parent ae2b47d commit 8342aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pbio/drv/display/display_ev3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ static const uint16_t pbdrv_display_pybricks_logo[] = {
225225
15542, 15608, 15648, 15680, 15720, 15786, 15826, 15858, 15898, 15964, 16004, 16036, 16075,
226226
16143, 16182, 16215, 16253, 16321, 16359, 16393, 16431, 16499, 16537, 16572, 16608, 16678,
227227
16714, 16751, 16785, 16857, 16891, 16930, 16962, 17036, 17068, 17109, 17139, 17215, 17245,
228-
17289, 17314, 17396, 17421
228+
17289, 17314, 17396, 17421, 22784
229229
};
230230

231231
/**

0 commit comments

Comments
 (0)