behaviour-tree-test/core/string
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
..
char_range.inc Add Unicode support to String.to_*_case() methods 2024-02-22 13:58:46 +03:00
char_utils.h Add Unicode support to String.to_*_case() methods 2024-02-22 13:58:46 +03:00
locales.h
node_path.cpp Added NodePath::slice method. 2023-12-13 13:30:28 -05:00
node_path.h Added NodePath::slice method. 2023-12-13 13:30:28 -05:00
optimized_translation.cpp
optimized_translation.h
print_string.cpp Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
print_string.h Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
SCsub
string_buffer.h
string_builder.cpp
string_builder.h
string_name.cpp [X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam. 2023-11-06 12:40:44 +02:00
string_name.h Remove _HashUnion from StringName 2024-02-14 15:38:57 -05:00
translation.compat.inc Fix some DEFVALs to use the right type 2024-02-23 01:50:18 +01:00
translation.cpp Merge pull request #87191 from Mickeon/autocompletion-TranslationServer 2024-03-01 14:56:18 +01:00
translation.h Merge pull request #87191 from Mickeon/autocompletion-TranslationServer 2024-03-01 14:56:18 +01:00
translation_po.cpp Remove unnecessary this-> expressions 2024-01-29 09:59:18 +01:00
translation_po.h
ucaps.h
ustring.cpp Stop possible underrun when processing a string 2024-03-19 20:17:11 +11:00
ustring.h Enforce template syntax typename over class 2024-03-07 22:39:09 -06:00