godot/core
Alistair Leslie-Hughes 87fe71f52f Stop possible underrun when processing a string
Calling String::utf8("Unicode String", -1) assumes that the string will be NULL terminated.
However, the length parameter is always used to find the end of the string.  So there is the
chance the character before th start of the string is read.

Making the pointer NULL in the case where it's out of range, still allows the following
to work as expected
while (ptrtmp != ptrtmp_limit && *ptrtmp)
....
2024-03-19 20:17:11 +11:00
..
config Merge uid_cache.bin and global_script_class_cache.cfg after mounting PCKs 2024-03-06 12:14:21 -05:00
crypto Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
debugger Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
error Fix GLTF exporting invalid meshes and attempting to export gizmo meshes 2024-02-04 02:58:29 -06:00
extension Add extension support for argument count to ScriptInstance 2024-03-13 22:40:09 +01:00
input SCons: Remove run_in_subprocess dependency 2024-03-11 13:20:09 -05:00
io Merge pull request #89270 from Repiteo/enforce-typename-in-templates 2024-03-14 22:34:37 +01:00
math Enforce template syntax typename over class 2024-03-07 22:39:09 -06:00
object Merge pull request #89519 from YeldhamDev/are_you_kidding_me_right_now 2024-03-15 17:01:34 +01:00
os Enforce template syntax typename over class 2024-03-07 22:39:09 -06:00
string Stop possible underrun when processing a string 2024-03-19 20:17:11 +11:00
templates Enforce template syntax typename over class 2024-03-07 22:39:09 -06:00
variant Merge pull request #89270 from Repiteo/enforce-typename-in-templates 2024-03-14 22:34:37 +01:00
core_bind.cpp Add methods to get argument count of methods 2024-03-10 11:02:43 +01:00
core_bind.h Add methods to get argument count of methods 2024-03-10 11:02:43 +01:00
core_builders.py SCons: Remove run_in_subprocess dependency 2024-03-11 13:20:09 -05:00
core_constants.cpp Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
core_constants.h Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00
core_globals.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_globals.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
doc_data.cpp Display BitField[Enum] in docs to distinguish from Enum 2023-06-15 17:23:02 +03:00
doc_data.h Documentation: Add support for deprecated/experimental messages 2024-02-15 15:59:50 +03:00
register_core_types.cpp Manage time singleton 2024-02-11 14:39:20 -08:00
register_core_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Enforce \n eol for Python writes 2024-03-09 14:29:24 -06:00
typedefs.h Enforce template syntax typename over class 2024-03-07 22:39:09 -06:00
version.h Display the build date in the editor and when starting the engine 2024-02-27 20:39:17 +01:00