From: Dan Carpenter Date: Tue, 4 Jun 2013 13:13:25 +0000 (+0300) Subject: staging: alarm-dev: information leak in alarm_compat_ioctl() X-Git-Tag: v3.10-rc5~18^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60bba385c5e86ee6a654e3345093eb48e258eb1d;p=pandora-kernel.git staging: alarm-dev: information leak in alarm_compat_ioctl() If we pass an invalid clock type then "ts" is never set. We need to check for errors earlier, otherwise we end up passing uninitialized stack data to userspace. Reported-by: John Stultz Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed