diff options
| author | Takashi Iwai <tiwai@suse.de> | 2016-01-18 14:12:40 +0100 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2016-02-02 19:10:00 +0000 |
| commit | 27b7f1419c309670dc0b0fe42091dd8017e45ee5 (patch) | |
| tree | 861d35db34778817247bb7e70de2be0a9c57deff /include/linux/stackprotector.h | |
| parent | b88eef285f4c8e59b97f248f409c756fc5df06aa (diff) | |
ALSA: control: Avoid kernel warnings from tlv ioctl with numid 0
commit c0bcdbdff3ff73a54161fca3cb8b6cdbd0bb8762 upstream.
When a TLV ioctl with numid zero is handled, the driver may spew a
kernel warning with a stack trace at each call. The check was
intended obviously only for a kernel driver, but not for a user
interaction. Let's fix it.
This was spotted by syzkaller fuzzer.
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
