android_kernel_google_msm/sound/pci
Takashi Iwai 96a987dfe3 ALSA: emu10k1: Fix card shortname string buffer overflow
commit d02260824e2cad626fb2a9d62e27006d34b6dedc upstream.

Some models provide too long string for the shortname that has 32bytes
including the terminator, and it results in a non-terminated string
exposed to the user-space.  This isn't too critical, though, as the
string is stopped at the succeeding longname string.

This patch fixes such entries by dropping "SB" prefix (it's enough to
fit within 32 bytes, so far).  Meanwhile, it also changes strcpy()
with strlcpy() to make sure that this kind of problem won't happen in
future, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2015-09-18 09:20:32 +08:00
..
ac97 ALSA: ac97 - Fix missing NULL check in snd_ac97_cvol_new() 2012-10-21 09:28:02 -07:00
ali5451 ALSA: ali5451: remove irq enabling in pointer callback 2013-02-28 06:58:59 -08:00
asihpi ALSA: asihpi: Fix unlocked snd_pcm_stop() call 2014-03-11 16:10:09 -07:00
au88x0 ALSA: au88x0 - Avoid possible Oops at unbinding 2012-03-16 09:54:00 +01:00
aw2 Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ca0106 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cs46xx ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cs5535audio ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ctxfi ALSA: ctxfi: Fix typo in ctvmem.c 2012-02-23 18:28:49 +01:00
echoaudio ALSA: echoaudio: Remove incorrect part of assertion 2012-05-06 12:54:20 +02:00
emu10k1 ALSA: emu10k1: Fix card shortname string buffer overflow 2015-09-18 09:20:32 +08:00
hda ALSA: hda - Fix mute-LED fixed mode 2015-09-18 09:20:32 +08:00
ice1712 ALSA: ice1712: Fix boundary checks in PCM pointer ops 2014-05-06 07:51:40 -07:00
korg1212 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
lola ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
lx6464es ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
mixart ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
nm256 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
oxygen ALSA: oxygen: modify adjust_dg_dac_routing function 2014-03-23 21:37:08 -07:00
pcxhr ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
riptide ALSA: off by one bug in snd_riptide_joystick_probe() 2015-06-19 11:40:14 +08:00
rme9652 ALSA: hdspm - Constrain periods to 2 on older cards 2015-06-19 11:40:16 +08:00
trident ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
vx222 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ymfpci Merge branch 'topic/misc' into for-linus 2012-03-18 18:22:33 +01:00
ad1889.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ad1889.h
ak4531_codec.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
als300.c ALSA: Add missing module parameters for als300 and cs5530 drivers 2011-12-19 10:34:44 +01:00
als4000.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
atiixp.c ALSA: atiixp: Fix unlocked snd_pcm_stop() call 2014-03-11 16:10:08 -07:00
atiixp_modem.c ALSA: atiixp: Fix unlocked snd_pcm_stop() call 2014-03-11 16:10:08 -07:00
azt3328.c ALSA: azt3328 - Fix NULL ptr dereference on cards without OPL3 2012-02-25 19:03:18 +01:00
azt3328.h
bt87x.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cmipci.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cs4281.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cs5530.c ALSA: Add missing module parameters for als300 and cs5530 drivers 2011-12-19 10:34:44 +01:00
ens1370.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ens1371.c
es1938.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
es1968.c [media] tea575x-tuner: update to latest V4L2 framework requirements 2012-03-19 11:27:21 -03:00
fm801.c [media] tea575x-tuner: update to latest V4L2 framework requirements 2012-03-19 11:27:21 -03:00
intel8x0.c ALSA: intel8x0: Fix default inaudible sound on Gateway M520 2012-02-14 09:33:47 +01:00
intel8x0m.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
Kconfig ALSA: Enable CONFIG_ZONE_DMA for smaller PCI DMA masks 2014-02-06 11:05:47 -08:00
maestro3.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
Makefile
rme32.c ALSA: rme32.c irq enabling after spin_lock_irq 2013-02-28 06:58:59 -08:00
rme96.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
sis7019.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
sis7019.h
sonicvibes.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
via82xx.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
via82xx_modem.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00