Dan Carpenter 60bba385c5 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 <john.stultz@linaro.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-04 10:26:14 -07:00
..
2013-05-05 00:15:43 -04:00
2013-05-05 00:15:43 -04:00
2013-05-30 21:14:30 +09:00
2013-05-05 00:15:43 -04:00
2013-04-09 14:13:20 -04:00
2013-05-23 09:27:49 -07:00
2013-05-05 00:15:43 -04:00
2013-05-05 00:15:43 -04:00
2013-05-05 00:15:43 -04:00
2013-04-19 11:15:20 -07:00