You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
ICU4C: Update to version 77.1
This commit is contained in:
2
thirdparty/icu4c/common/punycode.cpp
vendored
2
thirdparty/icu4c/common/punycode.cpp
vendored
@@ -193,7 +193,7 @@ u_strToPunycode(const char16_t *src, int32_t srcLength,
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(src==nullptr || srcLength<-1 || (dest==nullptr && destCapacity!=0)) {
|
||||
if(src==nullptr || srcLength<-1 || destCapacity<0 || (dest==nullptr && destCapacity!=0)) {
|
||||
*pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user