On Tuesday 19 May 2015 20:50:02 Baolin Wang wrote:
> +static inline void jiffies_to_timespec(const unsigned long jiffies,
> +                                      struct timespec *value)
> +{
> +       struct timespec64 *ts;
> +
> +       *ts = timespec_to_timespec64(*value);
> +       jiffies_to_timespec64(jiffies, ts);
> +}
> 

You are dereferencing an uninitialized pointer here. Did you compile-test
this? You should have seen a warning from gcc.

        Arnd
_______________________________________________
Y2038 mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/y2038

Reply via email to