aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorLarry Finger <[email protected]>2021-08-06 16:32:35 -0500
committerGreg Kroah-Hartman <[email protected]>2021-08-10 12:09:50 +0200
commitdfac77baa2837a9a4ac66015234854ebccb85bf1 (patch)
treed438d6d3bcb8ba48fbf9ccbb090859b3bc489be8 /tools/perf/scripts/python/bin
parent859c57f606c78cb8b33cabbd22ad1d4ff9f80e4e (diff)
staging: r8188eu: Fix potential memory leak or NULL dereference
In routine c2h_wk_callback(() following a kmalloc() call, the error recovery is flawed. If the kmalloc() returns a pointer that is not NULL, and the following c2h_evt_read() fails, the code will leak that buffer. If the kmalloc() fails, a NULL dereference will occur in the following code. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Larry Finger <[email protected]> Link: https://lore.kernel.org/r/[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