diff options
| author | Zubin Mithra <zsm@chromium.org> | 2019-04-05 00:33:55 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2019-04-05 15:33:01 +0300 |
| commit | 212ac181c158c09038c474ba68068be49caecebb (patch) | |
| tree | ae0bc69b8f9eb6943471ed99b0b97752f1d856a1 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | 8b030a57e35a0efc1a8aa18bb10555bc5066ac40 (diff) | |
| download | linux-212ac181c158c09038c474ba68068be49caecebb.tar.xz | |
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 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
