aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2024-11-20 15:11:02 +0100
committerTakashi Iwai <[email protected]>2024-11-21 12:34:43 +0100
commitd2913a07d9037fe7aed4b7e680684163eaed6bc4 (patch)
treef304daa5d3e2bd9b1a5137f54c47bdb874b8c9a8 /tools/perf/scripts/python/event_analyzing_sample.py
parent56386292a0b44b550432aaff92f28e0d0d0f0209 (diff)
ALSA: pcm: Add sanity NULL check for the default mmap fault handler
A driver might allow the mmap access before initializing its runtime->dma_area properly. Add a proper NULL check before passing to virt_to_page() for avoiding a panic. Reported-by: [email protected] Cc: <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions