disk: Extend disk_blk_part_validate() with range checking
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@mailbox.org>
Loading
Please register or sign in to comment