summaryrefslogtreecommitdiffstats
path: root/sound/hda
diff options
context:
space:
mode:
authorZubin Mithra <zsm@chromium.org>2019-04-04 23:33:55 +0200
committerTakashi Iwai <tiwai@suse.de>2019-04-05 14:33:01 +0200
commit212ac181c158c09038c474ba68068be49caecebb (patch)
treeae0bc69b8f9eb6943471ed99b0b97752f1d856a1 /sound/hda
parentALSA: xen-front: Do not use stream buffer size before it is set (diff)
downloadlinux-212ac181c158c09038c474ba68068be49caecebb.tar.xz
linux-212ac181c158c09038c474ba68068be49caecebb.zip
ALSA: seq: Fix OOB-reads from strlcpy
When ioctl calls are made with non-null-terminated userspace strings, strlcpy causes an OOB-read from within strlen. Fix by changing to use strscpy instead. Signed-off-by: Zubin Mithra <zsm@chromium.org> Reviewed-by: Guenter Roeck <groeck@chromium.org> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions