]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] Fix possible invalid memory access in PCM core
authorTakashi Iwai <tiwai@suse.de>
Thu, 1 Feb 2007 13:53:49 +0000 (14:53 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:03:31 +0000 (09:03 +0100)
commitf9e668939f87c80cd96cce551b54b01cae262558
tree0d9921010091f045bb937493e44649088c71ad02
parentafb9e6e2038a526444681cb8177d30ee812c58fa
[ALSA] Fix possible invalid memory access in PCM core

snd_internval_list() may access invalid memory in the case count = 0
is given.  It shouldn't be passed, but it'd better to make the code
a bit more robust.

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