Skip to content
Commit 5f40e4b1 authored by Florian Weimer's avatar Florian Weimer
Browse files

Linux: Fix UTC offset setting in settimeofday for __TIMESIZE != 64



The time argument is NULL in this case, and attempt to convert it
leads to a null pointer dereference.

This fixes commit d2e3b697
("y2038: linux: Provide __settimeofday64 implementation").

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent 354b98cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment