virtualx-engine/core/bind
Rémi Verschelde fd4475f652
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.

(cherry picked from commit 62efa30ed2)
2021-06-01 12:52:18 +02:00
..
core_bind.cpp OS: Better validation of invalid input for get_unix_time_from_datetime 2021-06-01 12:52:18 +02:00
core_bind.h Make all file access 64-bit (uint64_t) 2021-05-16 17:52:31 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00