On Mon, Jan 29, 2018 at 10:58:24PM +0300, Alexey Brodkin wrote:

> Commit ff98cb90514d ("part: extract MBR signature from partitions")
> blindly switched allocated by ALLOC_CACHE_ALIGN_BUFFER buffer type from
> "unsigned char" to "legacy_mbr" which caused allocation of size =
> (typeof(legacy_mbr) * dev_desc->blksize) instead of just space enough
> for "legacy_mbr" structure.
> Signed-off-by: Alexey Brodkin <abrod...@synopsys.com>
> Cc: Rob Clark <robdcl...@gmail.com>
> Cc: Peter Jones <pjo...@redhat.com>
> Cc: Alexander Graf <ag...@suse.de>
> Cc: Tom Rini <tr...@konsulko.com>

Applied to u-boot/master, thanks!


Attachment: signature.asc
Description: PGP signature

U-Boot mailing list

Reply via email to