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

back to top