diff options
| author | 2016-02-18 18:38:42 +0100 | |
|---|---|---|
| committer | 2016-02-20 14:59:37 -0800 | |
| commit | 11b49d9bb63fab2f92223419a2492661e317e2ef (patch) | |
| tree | 316c1608f524033173dfb3aa03ef4df5ce4df999 /include/linux/debugobjects.h | |
| parent | staging: netlogic: Fix indent for conditional statement (diff) | |
staging: netlogic: Return zero pointer after failed kmalloc
Return a ZERO_SIZE_PTR in the xlr_config_spill function if the
kmalloc returns an invalid value. This change prevents a possible
segmentation fault as the invalid pointer is fed into PTR_ALIGN macro.
Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
