diff options
author | Aditya Pakki <[email protected]> | 2019-03-20 10:42:32 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-03-21 08:32:58 +0100 |
commit | 6a8ca24590a2136921439b376c926c11a6effc0e (patch) | |
tree | d85264722e8e6ae272a952392447763c76a40488 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | 22c971db7dd4b0ad8dd88e99c407f7a1f4231a2e (diff) |
staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc
phydm.internal is allocated using kzalloc which is used multiple
times without a check for NULL pointer. This patch avoids such a
scenario by returning 0, consistent with the failure case.
Signed-off-by: Aditya Pakki <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions