From: Dan Carpenter Date: Sun, 21 Apr 2013 11:07:29 +0000 (+0300) Subject: ALSA: compress: info leak in snd_compr_get_caps() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c62e9f2b5a97c53aaae490f844949d32cca6dc6;p=pandora-kernel.git ALSA: compress: info leak in snd_compr_get_caps() 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed