]> sourceware.org Git - glibc.git/commit
Linux: Fix UTC offset setting in settimeofday for __TIMESIZE != 64
authorFlorian Weimer <fweimer@redhat.com>
Tue, 30 Jun 2020 19:19:43 +0000 (21:19 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 30 Jun 2020 19:20:20 +0000 (21:20 +0200)
commit5f40e4b1ba69a22923f6ec692d2d0f65733ccb0b
tree21fc421ffc9ac49465b9f2f9517880c8013f1792
parent354b98cdfd78fc8ca0f6ed7b0e3aa8c311f1deba
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 d2e3b697da2433c08702f95c76458c51545c3df1
("y2038: linux: Provide __settimeofday64 implementation").

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/settimeofday.c
This page took 0.044705 seconds and 5 git commands to generate.