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>
(cherry picked from commit cec8f96e49d9be372fdb0c3836dcf31ec71e457e)

Issue: KIONE-3528

Change-Id: I20cefac7063b2bcaf36bd900f9416b165793ed62
1 file changed