diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-10-28 12:42:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-14 08:59:48 -0800 |
commit | 203eb06d99656f2a291a75e41e1fee20ef8e3a14 (patch) | |
tree | 18a5bc6c8367849a6b0b1d90fd654c49369278db /scripts | |
parent | 76e40745855feef9f52456b764a46742e625ee4c (diff) | |
download | lwn-203eb06d99656f2a291a75e41e1fee20ef8e3a14.tar.gz lwn-203eb06d99656f2a291a75e41e1fee20ef8e3a14.zip |
ALSA: pcm: Zero-clear reserved fields of PCM status ioctl in compat mode
commit 317168d0c766defd14b3d0e9c2c4a9a258b803ee upstream.
In compat mode, we copy each field of snd_pcm_status struct but don't
touch the reserved fields, and this leaves uninitialized values
there. Meanwhile the native ioctl does zero-clear the whole
structure, so we should follow the same rule in compat mode, too.
Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions