https://github.com/torvalds/linux
Revision d7c4660c12adc5c66351253af381259686fa08a4 authored by Bill Pemberton on 09 October 2012, 18:18:19 UTC, committed by Greg Kroah-Hartman on 17 October 2012, 21:10:10 UTC
register_proc_table and unregister_proc_table didn't deal with the
possibility that the *table pointer could be NULL.  Check for this and
return if table is NULL.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 367ff45
History
Tip revision: d7c4660c12adc5c66351253af381259686fa08a4 authored by Bill Pemberton on 09 October 2012, 18:18:19 UTC
staging: dgrp: check for NULL pointer in (un)register_proc_table
Tip revision: d7c4660
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.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 221.8 KB
Makefile -rw-r--r-- 46.2 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top