[U-Boot] [PATCH] disk: part_dos: Allocate at least one block size for mbr
Tom Rini
trini at konsulko.com
Fri Sep 20 14:49:57 UTC 2019
On Wed, Sep 04, 2019 at 08:10:12PM +0530, Faiz Abbas wrote:
> The blk_dread() following the mbr allocation reads one block from the
> device. This will lead to overflow if block size is greater than the
> size of legacy_mbr. Fix this by allocating at least one block size.
>
> Signed-off-by: Faiz Abbas <faiz_abbas at ti.com>
> Acked-by: Alexey Brodkin <abrodkin at synopsys.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190920/d8eb3a7c/attachment.sig>
More information about the U-Boot
mailing list