diff options
| author | Marek Vasut <[email protected]> | 2023-08-14 01:46:45 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-08-22 15:17:52 -0400 |
| commit | bfd98b9a634e5922ca60597f59d83afdaa7c99ad (patch) | |
| tree | 946b1effd7e17939421e44eece60642e5fc53c23 /include/linux | |
| parent | 2bc0dfef9f27c03f24784f4f2382079caff05df1 (diff) | |
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 <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
