linux-stable/sound/pci/emu10k1
Takashi Iwai d02260824e ALSA: emu10k1: Fix card shortname string buffer overflow
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.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-04-27 13:00:09 +02:00
..
emu10k1.c ALSA: emu10k1: Fix card shortname string buffer overflow 2015-04-27 13:00:09 +02:00
emu10k1_callback.c ALSA: emu10k1: Fix deadlock in synth voice lookup 2014-10-14 09:18:02 +02:00
emu10k1_main.c ALSA: emu10k1: Fix card shortname string buffer overflow 2015-04-27 13:00:09 +02:00
emu10k1_patch.c ALSA: emu10k1: Use standard printk helpers 2014-02-26 16:45:27 +01:00
emu10k1_synth.c ALSA: seq: Define driver object in each driver 2015-02-12 14:15:54 +01:00
emu10k1_synth_local.h
emu10k1x.c ALSA: emu10k1: Remove always NULL parameters 2015-01-02 16:32:45 +01:00
emufx.c ALSA: emu10k1: Remove always NULL parameters 2015-01-02 16:32:45 +01:00
emumixer.c ALSA: emu10k1: add toggles for E-mu 1010 optical ports 2015-04-11 18:35:06 +02:00
emumpu401.c ALSA: emu10k1: Use standard printk helpers 2014-02-26 16:45:27 +01:00
emupcm.c ALSA: emu10k1: Remove always NULL parameters 2015-01-02 16:32:45 +01:00
emuproc.c ALSA: emu10k1: don't deadlock in proc-functions 2015-04-10 13:02:23 +02:00
io.c ALSA: emu10k1: Fix possible NULL dereference 2014-03-05 12:15:56 +01:00
irq.c ALSA: emu10k1: Use standard printk helpers 2014-02-26 16:45:27 +01:00
Makefile ALSA: clean up the logic for building sequencer modules 2009-05-29 11:49:42 +02:00
memory.c ALSA: emu10k1: Use standard printk helpers 2014-02-26 16:45:27 +01:00
p16v.c ALSA: emu10k1: Delete an unnecessary check before the function call "kfree" 2015-01-04 15:12:08 +01:00
p16v.h Fix common misspellings 2011-03-31 11:26:23 -03:00
p17v.h
timer.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
tina2.h
voice.c ALSA: emu10k1: Use standard printk helpers 2014-02-26 16:45:27 +01:00