summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_intel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-11-09 19:16:58 +0100
committerTakashi Iwai <tiwai@suse.de>2019-11-09 19:17:49 +0100
commit167beb1756791e0806365a3f86a0da10d7a327ee (patch)
tree2b62898da945bd02481869a6c763b70cd7bf74d8 /sound/pci/hda/hda_intel.c
parentdf37d941c4b5aee9259ab4e34de8bfda384f7681 (diff)
ALSA: usb-audio: Fix missing error check at mixer resolution test
A check of the return value from get_cur_mix_raw() is missing at the resolution test code in get_min_max_with_quirks(), which may leave the variable untouched, leading to a random uninitialized value, as detected by syzkaller fuzzer. Add the missing return error check for fixing that. Reported-and-tested-by: syzbot+abe1ab7afc62c6bb6377@syzkaller.appspotmail.com Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20191109181658.30368-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_intel.c')
0 files changed, 0 insertions, 0 deletions