mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
iov_iter_advance(): use consistent semantics for move past the end
asking to advance by more than we have left in the iov_iter should move to the very end; it should *not* leave negative i->count and it should not spew into syslog, etc. - it's a legitimate operation. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
0e8f0d6740
commit
3b3fc051cd
1 changed files with 2 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue