godot/core
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
..
bind OS: Better validation of invalid input for get_unix_time_from_datetime 2021-06-01 12:52:18 +02:00
crypto Backport HMac crypto to 3.x 2021-05-20 13:29:38 +03:00
io Merge pull request #46860 from bruvzg/symlinks_and_macos_gdn_framework_export 2021-05-24 15:15:10 +02:00
math BVH - fix stale current_tree in deactivate function 2021-05-25 10:43:04 +01:00
os Remove duplicate orientation settings in the iOS export preset 2021-05-25 23:55:37 +02:00
array.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
array.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
class_db.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
class_db.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
color_names.inc Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
color.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
color.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
command_queue_mt.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
command_queue_mt.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
compressed_translation.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
compressed_translation.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
core_builders.py Update AUTHORS and DONORS list 2020-08-14 00:32:05 +02:00
core_string_names.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
core_string_names.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
cowdata.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
dictionary.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
dictionary.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
engine.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
engine.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
error_list.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
error_macros.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
error_macros.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
func_ref.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
func_ref.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
global_constants.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
global_constants.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
hash_map.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
hashfuncs.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
image.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
image.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
input_map.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
input_map.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
int_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
list.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
local_vector.h Style: Set clang-format Standard to c++14 2021-05-04 14:45:15 +02:00
make_binders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
map.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
message_queue.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
message_queue.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
method_bind.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
method_bind.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
method_ptrcall.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
node_path.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
node_path.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
oa_hash_map.h Style: Enforce use of bool literals instead of integers 2021-05-04 16:39:13 +02:00
object_id.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
object_rc.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
object.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
object.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
ordered_hash_map.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
packed_data_container.cpp Merge pull request #48355 from MaxStgs/3.x 2021-05-05 15:22:40 +02:00
packed_data_container.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
paged_allocator.h Replace QuickHull with Bullet's convex hull computer. 2021-05-22 08:16:43 +02:00
pair.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
path_remap.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
path_remap.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pool_allocator.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
pool_allocator.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
pool_vector.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
pool_vector.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
pooled_list.h doc: Sync classref with current source 2021-01-13 16:55:27 +01:00
print_string.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
print_string.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
project_settings.cpp Implement the %command% placeholder in the Main Run Args setting 2021-05-09 17:47:38 +02:00
project_settings.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
ref_ptr.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
ref_ptr.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
reference.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
reference.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
register_core_types.cpp Backport HMac crypto to 3.x 2021-05-20 13:29:38 +03:00
register_core_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
resource.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
rid.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
rid.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
ring_buffer.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
safe_refcount.cpp Improve robustness of atomics 2021-02-19 11:48:30 +01:00
safe_refcount.h Style: Set clang-format Standard to c++14 2021-05-04 14:45:15 +02:00
script_debugger_local.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
script_debugger_local.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
script_language.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
script_language.h Highlight control flow keywords with a different color 2021-05-25 00:31:39 +02:00
SCsub Fixed build with SCRIPT_AES256_ENCRYPTION_KEY set 2021-05-14 15:15:25 +02:00
self_list.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
set.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
simple_type.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
sort_array.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
string_buffer.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
string_builder.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
string_builder.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
string_name.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
string_name.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
translation.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
translation.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
type_info.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
typedefs.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
ucaps.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
undo_redo.cpp Extend UndoRedo handling of Resource to every Reference 2021-05-09 09:29:45 +02:00
undo_redo.h Extend UndoRedo handling of Resource to every Reference 2021-05-09 09:29:45 +02:00
ustring.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
ustring.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
variant_call.cpp Return error when decompressing empty buffer 2021-05-25 17:31:00 +02:00
variant_op.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
variant_parser.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
variant_parser.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
variant.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
variant.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
vector.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
version.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
vmap.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
vset.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00