
Oct. 26, 2021
10:11 p.m.
On 10/22/21 07:49, Christos Zoulas wrote:
My linter reports "prevcorr" is uninitialized in the if statement below the comment that starts "To avoid other botches".
Thanks for mentioning that. This prompted me to find an obscure bug in localtime that would cause it to access an uninitialized local variable (which is undefined behavior) in cases involving 32-bit time_t code reading malformed 64-bit data. I installed the attached patch to fix the bug, and I hope this also pacifies your linter.