]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Aug 2016 10:54:44 +0000 (12:54 +0200)
commit82a638a293d7f0a699d88fe669a43829e65b0911
treeafd5fe139d3a2ff78394027a7c2217965953a3b0
parent2e9aedc4a304dbb2fb99b77528ace3f7e9f6c71e
ALSA: timer: Fix leak in SNDRV_TIMER_IOCTL_PARAMS

commit cec8f96e49d9be372fdb0c3836dcf31ec71e457e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/core/timer.c