summaryrefslogtreecommitdiff
path: root/src/klibc/kstring.c
diff options
context:
space:
mode:
authorW GTO <[email protected]>2026-09-22 17:10:15 +0800
committerRbb666 <[email protected]>2026-11-24 15:15:17 +0800
commit201649db7e2dc8086935935378e1129668669c03 (patch)
tree68a35a9a6cbc9a7578c4a12405953c03d2132d7f /src/klibc/kstring.c
parentc16be327143f05760f1364051010a5a3dd6c04c7 (diff)
[drivers][block] Keep partition I/O within its relative sector range
Reject negative offsets and requests exceeding the remaining partition sectors before forwarding them to the parent disk. Use subtraction to avoid overflow when checking the request end. Refs #11286
Diffstat (limited to 'src/klibc/kstring.c')
0 files changed, 0 insertions, 0 deletions