mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
ALSA: hda/proc - Fix racy string access for power states
The power states in a proc file are printed in a racy manner on a single static string buffer. Fix it by calling snd_iprintf() directly for each state instead of processing on a temporary buffer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
cc75cdfe1d
commit
1d260d7b3b
1 changed files with 10 additions and 18 deletions
Loading…
Add table
Add a link
Reference in a new issue