diff options
| author | David Howells <[email protected]> | 2019-12-06 21:34:51 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-12-06 21:57:04 +0000 |
| commit | 76f6777c9cc04efe8036b1d2aa76e618c1631cc6 (patch) | |
| tree | d6383685fe462de7eb3007541ee2e26a03b2927d /net/unix/af_unix.c | |
| parent | Merge tag 'powerpc-5.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/po... (diff) | |
| download | kernel-76f6777c9cc04efe8036b1d2aa76e618c1631cc6.tar.gz kernel-76f6777c9cc04efe8036b1d2aa76e618c1631cc6.zip | |
pipe: Fix iteration end check in fuse_dev_splice_write()
Fix the iteration end check in fuse_dev_splice_write(). The iterator
position can only be compared with == or != since wrappage may be involved.
Fixes: 8cefc107ca54 ("pipe: Use head and tail pointers for the ring, not cursor and length")
Reported-by: Linus Torvalds <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
