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

2023-08-23 Thread Tom Rini
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 Applied to u-boot/next, thanks!

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

2023-08-13 Thread Marek Vasut
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 --- Cc: AKASHI Takahiro Cc: Abdellatif El Khlifi Cc: Bin Meng Cc: Heinrich Schuchardt Cc: Joshua Watt