ALSA: compress: info leak in snd_compr_get_caps()
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 21 Apr 2013 11:07:29 +0000 (14:07 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Apr 2013 08:34:46 +0000 (10:34 +0200)
If the ->get_caps() function doesn't clear the buffer then there would
stack information leaked to userspace.  For example,
soc_compr_get_caps() can return success without clearing the buffer.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found