[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)
commitdbedca39fe30db87b6401e4396f959c63d90082e
tree9fc6303fd7ac83d62360896534b4964bc4245c5e
parent5b15c95f889c7bc43cb759c27211c597c0ad9f05
[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