commit | 60bba385c5e86ee6a654e3345093eb48e258eb1d | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Jun 04 16:13:25 2013 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jun 04 10:26:14 2013 -0700 |
tree | 46a792a0171a3d2b6fc7e1993c22343ad1c89574 | |
parent | e919b86c3b018c0e0c5e522354e743dcc0824ee1 [diff] |
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>