summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-06-27 14:59:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-08 13:03:35 +0100
commit23df63002205f17d307af118fe0025f6e49d389a (patch)
tree068beceed7e2d91f85b5760c1c9c5e52ebc77df1 /scripts
parentaf882cb0bcb5573014e2203dbfd67e2737bb10d3 (diff)
ALSA: intel_hdmi: Use strlcpy() instead of strncpy()
commit c288248f5b26cd5563112fcdc077bf44964a942d 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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions