]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] Fix re-use of va_list
authorTakashi Iwai <tiwai@suse.de>
Wed, 18 Oct 2006 17:09:46 +0000 (19:09 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sun, 22 Oct 2006 08:51:13 +0000 (10:51 +0200)
commit8eefe0a6401e65dafaf24d7fedb7a2caf52c869b
tree9fc6303fd7ac83d62360896534b4964bc4245c5e
parent74925fc3139fba54150ffbf840e2696a2d4fdc27
[ALSA] Fix re-use of va_list

The va_list is designed to be used only once.  The current code
may pass va_list arguments multiple times and may cause Oops.
Copy/release the arguments temporarily to avoid this problem.

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