diff options
author | Jaroslav Kysela <[email protected]> | 2023-01-13 09:53:11 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2023-01-13 09:54:55 +0100 |
commit | 92a9c0ad86d47ff4cce899012e355c400f02cfb8 (patch) | |
tree | 60f5a1fdd895a137cdf8d94bd19c94bf083a06fa /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 84aa3059f42ffd702b7ba2e94867eb670070bf40 (diff) |
ALSA: usb-audio: Fix possible NULL pointer dereference in snd_usb_pcm_has_fixed_rate()
The subs function argument may be NULL, so do not use it before the NULL check.
Fixes: 291e9da91403 ("ALSA: usb-audio: Always initialize fixed_rate in snd_usb_find_implicit_fb_sync_format()")
Reported-by: coverity-bot <[email protected]>
Link: https://lore.kernel.org/alsa-devel/202301121424.4A79A485@keescook/
Signed-off-by: Jaroslav Kysela <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions