Staging
v0.5.1
https://github.com/torvalds/linux
Revision 62e5c4b4d6351707346695fd9e151b6cda85cbe1 authored by Cyrill Gorcunov on 02 March 2008, 20:28:24 UTC, committed by Christoph Lameter on 03 March 2008, 20:22:32 UTC
This patch fix possible NULL pointer dereference if kzalloc
failed. To be able to return proper error code the function
return type is changed to ssize_t (according to callees and
sysfs definitions).

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
1 parent f619cfe
History
Tip revision: 62e5c4b4d6351707346695fd9e151b6cda85cbe1 authored by Cyrill Gorcunov on 02 March 2008, 20:28:24 UTC
slub: fix possible NULL pointer dereference
Tip revision: 62e5c4b
File Mode Size
oss
seq
Kconfig -rw-r--r-- 5.0 KB
Makefile -rw-r--r-- 853 bytes
control.c -rw-r--r-- 38.8 KB
control_compat.c -rw-r--r-- 11.3 KB
device.c -rw-r--r-- 6.7 KB
hwdep.c -rw-r--r-- 13.1 KB
hwdep_compat.c -rw-r--r-- 2.3 KB
info.c -rw-r--r-- 23.0 KB
info_oss.c -rw-r--r-- 3.9 KB
init.c -rw-r--r-- 20.7 KB
isadma.c -rw-r--r-- 2.7 KB
memalloc.c -rw-r--r-- 16.8 KB
memory.c -rw-r--r-- 2.5 KB
misc.c -rw-r--r-- 2.8 KB
pcm.c -rw-r--r-- 30.9 KB
pcm_compat.c -rw-r--r-- 15.1 KB
pcm_lib.c -rw-r--r-- 52.2 KB
pcm_memory.c -rw-r--r-- 12.2 KB
pcm_misc.c -rw-r--r-- 11.9 KB
pcm_native.c -rw-r--r-- 91.7 KB
pcm_timer.c -rw-r--r-- 4.1 KB
rawmidi.c -rw-r--r-- 47.8 KB
rawmidi_compat.c -rw-r--r-- 3.5 KB
rtctimer.c -rw-r--r-- 4.1 KB
sgbuf.c -rw-r--r-- 2.9 KB
sound.c -rw-r--r-- 11.1 KB
sound_oss.c -rw-r--r-- 7.2 KB
timer.c -rw-r--r-- 50.8 KB
timer_compat.c -rw-r--r-- 3.5 KB

back to top