diff options
author | Chunwei Chen <[email protected]> | 2015-09-29 00:02:31 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-09-29 10:06:58 -0700 |
commit | 45838e3a414a7a1a5fb49dc528dee1d22449599b (patch) | |
tree | e90de972b6d8203693e6c64145408c993e7bf1c5 /cmd/dbufstat | |
parent | b815ec32b3ba04ad7307ca8945a865eec0ec766b (diff) |
Fix uioskip crash when skip to end
When doing uioskip to skip an iovec to the very end, the current loop
condition will falsely check pass the end of iovec. We fix this checking
uio_iovcnt first.
Signed-off-by: Chunwei Chen <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #3806
Closes #3850
Diffstat (limited to 'cmd/dbufstat')
0 files changed, 0 insertions, 0 deletions