Messages in this thread | | | Date | Sun, 2 Mar 2008 22:48:39 +0200 | From | "Pekka Enberg" <> | Subject | Re: [PATCH] slub: fix possible NULL pointer dereference |
| |
On Sun, Mar 2, 2008 at 10:28 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote: > 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>
Looks good to me.
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
| |