aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorWilly Tarreau <[email protected]>2018-09-08 08:12:21 +0200
committerTakashi Iwai <[email protected]>2018-09-10 17:18:28 +0200
commit49434c6c575d2008c0abbc93e615019f39e01252 (patch)
tree499e94efd9d2e885a356daa0af63dfaf1ab0a992 /tools/perf/util/trace-event-scripting.c
parent36f3a6e02c143a7e9e4e143e416371f67bc1fae6 (diff)
ALSA: emu10k1: fix possible info leak to userspace on SNDRV_EMU10K1_IOCTL_INFO
snd_emu10k1_fx8010_ioctl(SNDRV_EMU10K1_IOCTL_INFO) allocates memory using kmalloc() and partially fills it by calling snd_emu10k1_fx8010_info() before returning the resulting structure to userspace, leaving uninitialized holes. Let's just use kzalloc() here. BugLink: http://blog.infosectcbr.com.au/2018/09/linux-kernel-infoleaks.html Signed-off-by: Willy Tarreau <[email protected]> Cc: Jann Horn <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions