summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-05-09 11:54:48 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-09 14:04:29 -0400
commitdd254f5a382cc7879db7a07ed266b12d38fe3ab6 (patch)
treebd644bbc841c64c265d72c74d9c82d9df61d4064 /fs/ecryptfs
parent7367ab9157d6829351dd4aa404352402f064686c (diff)
downloadop-kernel-dev-dd254f5a382cc7879db7a07ed266b12d38fe3ab6.zip
op-kernel-dev-dd254f5a382cc7879db7a07ed266b12d38fe3ab6.tar.gz
fold checks into iterate_and_advance()
they are open-coded in all users except iov_iter_advance(), and there they wouldn't be a bad idea either - as it is, iov_iter_advance(i, 0) ends up dereferencing potentially past the end of iovec array. It doesn't do anything with the value it reads, and very unlikely to trigger an oops on dereference, but it is not impossible. Reported-by: Jiri Slaby <jslaby@suse.cz> Reported-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud