aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGaurav Singh <[email protected]>2020-06-13 21:19:40 -0400
committerRichard Weinberger <[email protected]>2020-10-11 23:12:51 +0200
commitbab991cf40f631d18d00cb8c2a97325c8fd4292e (patch)
treee9a621e1d6e042925c4ed29e50a815634d29af2f /tools/perf/scripts/python/export-to-sqlite.py
parentba4f184e126b751d1bffad5897f263108befc780 (diff)
um: Fix null pointer dereference in vector_user_bpf
The bpf_prog is being checked for !NULL after uml_kmalloc but later its used directly for example: bpf_prog->filter = bpf and is also later returned upon success. Fix this, do a NULL check and return right away. Signed-off-by: Gaurav Singh <[email protected]> Acked-By: Anton Ivanov <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions