diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-04-03 17:45:19 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-04-07 13:07:17 +0200 |
commit | b580fbfff13b01fa79a0760cbb6386f33bc9e10b (patch) | |
tree | 6990175a3594dab8dad9c0b2e180e927d79b272f /lib/refcount.c | |
parent | f5d76e9c40fd8791202d31c66a63f6f7ebbb8dcb (diff) |
ALSA: usb-audio: Add sanity checks in UAC3 clock parsers
The UAC3 clock parser codes lack of the sanity checks for malformed
descriptors like UAC2 parser does. Without it, the driver may lead to
a potential crash.
Fixes: 9a2fe9b801f5 ("ALSA: usb: initial USB Audio Device Class 3.0 support")
Tested-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Reviewed-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/refcount.c')
0 files changed, 0 insertions, 0 deletions