]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: timer: Fix leak in SNDRV_TIMER_IOCTL_PARAMS
authorKangjie Lu <kangjielu@gmail.com>
Tue, 3 May 2016 20:44:07 +0000 (16:44 -0400)
committerTakashi Iwai <tiwai@suse.de>
Sun, 8 May 2016 09:31:27 +0000 (11:31 +0200)
commitc0123a9fde4b898ff067fe455cfbb2e74f6b68b9
tree6ab72bd657d5871b0616355897856d97b94b7f84
parent4fd2a7bc18d75c3290a37e6a33b4ab57ea5ff191
ALSA: timer: Fix leak in SNDRV_TIMER_IOCTL_PARAMS

The stack object “tread” has a total size of 32 bytes. Its field
“event” and “val” both contain 4 bytes padding. These 8 bytes
padding bytes are sent to user without being initialized.

Signed-off-by: Kangjie Lu <kjlu@gatech.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/timer.c