[ALSA] emu10k1 - Fix over-sized kmalloc for TLV
authorTakashi Iwai <tiwai@suse.de>
Sat, 19 Jan 2008 09:33:07 +0000 (10:33 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:30:05 +0000 (17:30 +0100)
commit6735e5723b5b4bc9bc0a24a841fbd0f2e7944b3f
treedbc1987bbf2a4c8c19a54532dfc675b86fa1bbc8
parent28a0d9df0706c523d3bb8de18892c76b78c2e428
[ALSA] emu10k1 - Fix over-sized kmalloc for TLV

Reported by Al Viro:
In copy_tlv(), the size of kmalloc is wrongly calculated.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/emu10k1/emufx.c