diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-05-17 16:15:38 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-05-17 17:04:10 +0300 |
commit | 4e268db74770b454b877ab5260f1868a457d212c (patch) | |
tree | d739e23399bb1edb4774a6b005ceaab388f33ded /sound/Makefile | |
parent | a829dd5b3840fd9a24608ed73eb21ba239ae5334 (diff) | |
download | linux-4e268db74770b454b877ab5260f1868a457d212c.tar.xz |
ALSA: usx2y: Fix potential leaks of uninitialized memory
usx2y drivers may expose the allocated pages via mmap, but it performs
zero-clear only for the struct size, not aligned with the page size.
This leaves out some uninitialized trailing bytes.
This patch fixes the clearance to cover all memory that are exposed to
user-space.
Link: https://lore.kernel.org/r/20210517131545.27252-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/Makefile')
0 files changed, 0 insertions, 0 deletions