https://github.com/torvalds/linux
Revision ac4d6888b21a8be373f3e06f1d4011fbe2bbbeac authored by Chandra Seetharaman on 03 August 2011, 02:18:29 UTC, committed by Alex Elder on 12 August 2011, 18:39:29 UTC
Check the return value of xfs_buf_read() for NULL and return ENOMEM
if it is NULL.  This is necessary in a few spots to avoid subsequent
code blindly dereferencing the null buffer pointer.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
1 parent 9e978d8
History
Tip revision: ac4d6888b21a8be373f3e06f1d4011fbe2bbbeac authored by Chandra Seetharaman on 03 August 2011, 02:18:29 UTC
xfs: Check the return value of xfs_buf_read() for NULL
Tip revision: ac4d688
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-- 1014 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 196.2 KB
Makefile -rw-r--r-- 52.3 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top