Bufferoverflow on eMMC partition handling
Florian Otte
fotte at uni-osnabrueck.de
Mon Sep 2 02:37:56 PDT 2024
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
[Edit]: Sorry. Clicked the wrong button to fast. Now with Attachment.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-FIX-buffer-overflow-on-MCI-partition-enumeration.patch
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20240902/2a3feeea/attachment.ksh>
More information about the barebox
mailing list