Hi Faiz,

> -----Original Message-----
> From: Faiz Abbas <faiz_ab...@ti.com>
> Sent: Wednesday, September 4, 2019 5:40 PM
> To: u-boot@lists.denx.de
> Cc: tr...@konsulko.com; Alexey Brodkin <abrod...@synopsys.com>; 
> paule...@forallsecure.com;
> faiz_ab...@ti.com
> Subject: [PATCH] disk: part_dos: Allocate at least one block size for mbr
> 
> 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_ab...@ti.com>

Acked-by: Alexey Brodkin <abrod...@synopsys.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to