diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-10-28 12:42:19 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-10-28 12:45:53 +0100 |
commit | 317168d0c766defd14b3d0e9c2c4a9a258b803ee (patch) | |
tree | 68e3556e0e4018ba71d08c2624dd4ae7595db28c /Documentation | |
parent | ALSA: bebob: Uninitialized id returned by saffirepro_both_clk_src_get (diff) | |
download | linux-317168d0c766defd14b3d0e9c2c4a9a258b803ee.tar.xz linux-317168d0c766defd14b3d0e9c2c4a9a258b803ee.zip |
ALSA: pcm: Zero-clear reserved fields of PCM status ioctl in compat mode
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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions