aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGravatar Rik van Riel <riel@redhat.com> 2010-04-26 12:33:03 -0400
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2010-04-27 08:26:51 -0700
commit5892753383090a3eddf0e1b043c95e3b2c7feda5 (patch)
treef1a1d3b449f275dd34ba34208704e92900032f9b /net
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (diff)
downloadlinux-5892753383090a3eddf0e1b043c95e3b2c7feda5.tar.gz
linux-5892753383090a3eddf0e1b043c95e3b2c7feda5.tar.bz2
linux-5892753383090a3eddf0e1b043c95e3b2c7feda5.zip
mmap: check ->vm_ops before dereferencing
Check whether the VMA has a vm_ops before calling close, just like we check vm_ops before calling open a few dozen lines higher up in the function. Signed-off-by: Rik van Riel <riel@redhat.com> Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions