Re: [PATCH] ALSA: Adjust structure(snd_timer_tread) members to avoid 8 padding bytes

2017-05-29 Thread Thomas Gleixner
On Tue, 30 May 2017, Manjeet Pawar wrote: > This patch is made to fix below CVE issue where 8 padding bytes are sent to > user without being initialized. Structure members are adjusted to avoid 8 > padding bytes. > > CVE-2016-4569/CVE-2016-4578: > The stack object tread has a total size of 32 byt

[PATCH] ALSA: Adjust structure(snd_timer_tread) members to avoid 8 padding bytes

2017-05-29 Thread Manjeet Pawar
This patch is made to fix below CVE issue where 8 padding bytes are sent to user without being initialized. Structure members are adjusted to avoid 8 padding bytes. CVE-2016-4569/CVE-2016-4578: The stack object tread has a total size of 32 bytes. Its field event and val both contain 4 bytes paddi