aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2022-04-24 21:59:45 +0100
committerTakashi Iwai <[email protected]>2022-04-25 07:52:50 +0200
commit011b559be832194f992f73d6c0d5485f5925a10b (patch)
tree1462e01e1acf8d2a5fb40fe9065c455a2dc85c36 /scripts/clang-tools/gen_compile_commands.py
parentc92b576a13ad917e6f5bcee916e6004e711edfa7 (diff)
ALSA: pcm: Check for null pointer of pointer substream before dereferencing it
Pointer substream is being dereferenced on the assignment of pointer card before substream is being null checked with the macro PCM_RUNTIME_CHECK. Although PCM_RUNTIME_CHECK calls BUG_ON, it still is useful to perform the the pointer check before card is assigned. Fixes: d4cfb30fce03 ("ALSA: pcm: Set per-card upper limit of PCM buffer allocations") Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions