https://github.com/torvalds/linux
Revision 8e3531060556bf5e09444acd2aa5c78bce9c9f70 authored by Steve French on 27 March 2015, 00:47:02 UTC, committed by Steve French on 01 April 2015, 05:01:47 UTC
null tcon is not likely in these paths in current
code, but obviously it does clarify the code to
check for null (if at all) before derefrencing
rather than after.

Reported by Coverity (CID 1042666)

Signed-off-by: Steve French <smfrench@gmail.com>
Acked-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Acked-by: Sachin Prabhu <sprabhu@redhat.com>
1 parent f3a31a2
History
Tip revision: 8e3531060556bf5e09444acd2aa5c78bce9c9f70 authored by Steve French on 27 March 2015, 00:47:02 UTC
Fix dereference before null check warning
Tip revision: 8e35310
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-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 298.8 KB
Makefile -rw-r--r-- 53.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top