https://github.com/torvalds/linux
Revision 5892753383090a3eddf0e1b043c95e3b2c7feda5 authored by Rik van Riel on 26 April 2010, 16:33:03 UTC, committed by Linus Torvalds on 27 April 2010, 15:26:51 UTC
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>
1 parent a231a1f
History
Tip revision: 5892753383090a3eddf0e1b043c95e3b2c7feda5 authored by Rik van Riel on 26 April 2010, 16:33:03 UTC
mmap: check ->vm_ops before dereferencing
Tip revision: 5892753
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 930 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 166.4 KB
Makefile -rw-r--r-- 51.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top