Skip to contentSkip to conversation

Bufferoverflow on eMMC partition handling

DISCUSSION Florian Otte 1 participant 1 message Sep 2, 2024

lore
Share & tools
lore
#0 lore raw

Hi Everyone.

I tried to use all general purpose partitions on an eMMC storage device and ran into some trouble. In ./include/mci.h the number of partitions is limited to 6, but there might be 7 partitions. This results in a buffer overflow or access out of bound and causes a nasty bootloop when all general purpose-partitions are used. I created a simple patch and appended it to this mail.

Kind regards
fotte