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> |
||
|---|---|---|
| .. | ||
| trace | ||
| alarm-dev.c | ||
| android_alarm.h | ||
| ashmem.c | ||
| ashmem.h | ||
| binder_trace.h | ||
| binder.c | ||
| binder.h | ||
| Kconfig | ||
| logger.c | ||
| logger.h | ||
| lowmemorykiller.c | ||
| Makefile | ||
| ram_console.h | ||
| sw_sync.c | ||
| sw_sync.h | ||
| sync.c | ||
| sync.h | ||
| timed_gpio.c | ||
| timed_gpio.h | ||
| timed_output.c | ||
| timed_output.h | ||
| TODO | ||