[PATCH 5/8] disk: Extend disk_blk_part_validate() with range checking

Tom Rini trini at konsulko.com
Wed Aug 23 16:42:18 CEST 2023


On Mon, Aug 14, 2023 at 01:46:45AM +0200, Marek Vasut wrote:

> Check whether access is out of bounds of the partition and
> return an error. This way there is no danger of esp. write
> or erase outside of the confines of partition.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230823/90bf7ebc/attachment.sig>


More information about the U-Boot mailing list