From: Adrian Knoth Date: Wed, 23 Feb 2011 10:43:14 +0000 (+0100) Subject: ALSA: hdspm - prevent reading unitialized stack memory X-Git-Tag: v2.6.39-rc1~424^2^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ab69a2b3b84415085d261bcf848b7a95c010c9d;p=pandora-kernel.git ALSA: hdspm - prevent reading unitialized stack memory Original patch by Dan Rosenberg under commit e68d3b316ab7b02a074edc4f770e6a746390cb7d. I'm copying his text here: The SNDRV_HDSPM_IOCTL_GET_CONFIG_INFO ioctl in hdspm.c allow unprivileged users to read uninitialized kernel stack memory, because several fields of the hdspm_config struct declared on the stack are not altered or zeroed before being copied back to the user. This patch takes care of it. Signed-off-by: Adrian Knoth Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed