aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDominique Martinet <[email protected]>2021-11-03 17:34:05 +0900
committerDominique Martinet <[email protected]>2021-11-03 17:44:29 +0900
commit0dc54bd4d6e03be1f0b678c4297170b79f1a44ab (patch)
treebdd88df1f40a932ee69560d6e364036910fcef28 /tools/perf/util/trace-event-scripting.c
parent4cd82a5bb0f68236f67b1678bc9e6348a42241ed (diff)
fscache_cookie_enabled: check cookie is valid before accessing it
fscache_cookie_enabled() could be called on NULL cookies and cause a null pointer dereference when accessing cookie flags: just make sure the cookie is valid first Suggested-by: David Howells <[email protected]> Acked-by: David Howells <[email protected]> Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions