diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-06-04 16:13:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-04 10:26:14 -0700 |
commit | 60bba385c5e86ee6a654e3345093eb48e258eb1d (patch) | |
tree | 46a792a0171a3d2b6fc7e1993c22343ad1c89574 /net/ipv4/tcp_ipv4.c | |
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>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions