summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-10-28 12:42:19 +0100
committerJiri Slaby <jslaby@suse.cz>2014-11-13 19:02:14 +0100
commit12f36730da98ee45a2e16bff0122b3357291f7d6 (patch)
tree281210d7b79881fe20a80f0f84ba48da0af28c25 /net/wireless
parent54ae5738de038c08cc19eee64f58a5faf46d091a (diff)
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: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions