diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-05-24 12:25:17 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-05-24 13:37:36 +0200 |
commit | 62efa30ed239b89538730a9528e10af50cdce1a1 (patch) | |
tree | 6d301038e5625e9911a54190594aaea260449031 /thirdparty/bullet/LinearMath/btSerializer64.cpp | |
parent | 9cf1d034a7f08c37f3c7f4660c50c8784864daa3 (diff) |
OS: Better validation of invalid input for get_unix_time_from_datetime
Default missing keys to Unix time 0 (1970-01-01 at 00:00:00 UTC).
Abort if year <= 0, this is not supported by the current algorithm.
Prevents an infinite loop further down.
Fixes #49022.
Diffstat (limited to 'thirdparty/bullet/LinearMath/btSerializer64.cpp')
0 files changed, 0 insertions, 0 deletions