[U-Boot] [PATCH] disk: part_dos: Allocate at least one block size for mbr
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!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the U-Boot