diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-06-15 00:36:42 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-06-15 00:36:42 +0000 |
commit | c74544620cbb68ee5eeb151f8179b7b75a541845 (patch) | |
tree | 690e112486687a73d36279bd6260d0c784473b24 /sys/compat/svr4 | |
parent | 663dcc3f9fd3820372803855330ae78840ef6eb3 (diff) |
Don't bypass partition bounds check for RAW_PART. We now guarantee that
RAW_PART will always be 0 -> disksize, so the bounds check will always
pass for i/o's to valid addresses. Now the i/o will be properly truncated
if it goes past the end of the device. This prevents various adverse
impacts of issuing i/o's for data past the end of the device.
Repeatedly requested by todd@.
ok weingart@ deraadt@
Diffstat (limited to 'sys/compat/svr4')
0 files changed, 0 insertions, 0 deletions