aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorLaura Garcia Liebana <[email protected]>2016-02-18 18:38:42 +0100
committerGreg Kroah-Hartman <[email protected]>2016-02-20 14:59:37 -0800
commit11b49d9bb63fab2f92223419a2492661e317e2ef (patch)
tree316c1608f524033173dfb3aa03ef4df5ce4df999 /tools/perf/scripts/python/bin
parentbf8b2bb6d84031b7207154046f120052435fb196 (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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions