aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorLaura Garcia Liebana <nevola@gmail.com>2016-02-18 18:38:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-20 14:59:37 -0800
commit11b49d9bb63fab2f92223419a2492661e317e2ef (patch)
tree316c1608f524033173dfb3aa03ef4df5ce4df999 /include/linux
parentstaging: 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')
0 files changed, 0 insertions, 0 deletions