]> git.ipfire.org Git - thirdparty/ccache.git/commit
Don’t crash if localtime returns null pointer in localtime_r replacement
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 22 Sep 2019 17:46:42 +0000 (19:46 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 22 Sep 2019 17:54:51 +0000 (19:54 +0200)
commit87550e9c38560fa28b8d36753de18f980811a421
treeb496f06ede1419911f0051b69221b1f019959af3
parent25e73c1f51455dca1cb2d0976bf1f577e717de24
Don’t crash if localtime returns null pointer in localtime_r replacement

This seems to happen in some unknown Windows environment, see #450.

Fixes #450.

(cherry picked from commit 8c4ffbab96a8f4bebc27b39ad3a235a5d8baeab3)
src/hashutil.cpp
src/util.cpp