linux-stable/sound/x86
Takashi Iwai 23df630022 ALSA: intel_hdmi: Use strlcpy() instead of strncpy()
commit c288248f5b upstream.

hdmi_lpe_audio_probe() copies the pcm name string via strncpy(), but
as a gcc8 warning suggests, it misses a NUL terminator, and unlikely
the expected result.

Use the proper one, strlcpy() instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-08 13:03:35 +01:00
..
intel_hdmi_audio.c ALSA: intel_hdmi: Use strlcpy() instead of strncpy() 2018-12-08 13:03:35 +01:00
intel_hdmi_audio.h ALSA: x86: Register multiple PCM devices for the LPE audio card 2017-05-03 16:24:00 +03:00
intel_hdmi_lpe_audio.h ALSA: x86: Allow single period PCM operation 2017-02-10 10:21:42 +01:00
Kconfig ALSA: x86: Make CONFIG_SND_X86 bool 2017-03-21 13:26:02 +01:00
Makefile ALSA: x86: Fold intel_hdmi_audio_if.c into main file 2017-02-03 17:31:54 +01:00