ALSA: ak4xx-adda: info leak in ak4xxx_capture_source_info()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 26 Jun 2013 07:52:20 +0000 (10:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 13:44:30 +0000 (06:44 -0700)
commitc97105259b2691d182e53c854d9024e3740e75db
treecdb7306885e238658b3eac8ebf07ca1e9e5cf52e
parent775a5ddce6018428fd8143d519b9114a86fa4b60
ALSA: ak4xx-adda: info leak in ak4xxx_capture_source_info()

commit bd5fe738e388ceaa32e5171481e0d3ec59f0ccfe upstream.

"idx" is controled by the user and can be a negative offset into the
input_names[] array.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Weng Meiling <wengmeiling.weng@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/i2c/other/ak4xxx-adda.c