mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-05 21:45:37 +00:00
ICU-22307 Fix crash inside TimeZone
Return while the status fail without checking and cause crash
This commit is contained in:
parent
cdeae44c6b
commit
3d31e72633
1 changed files with 3 additions and 0 deletions
|
@ -2642,6 +2642,9 @@ TimeZoneFormat::initGMTOffsetPatterns(UErrorCode& status) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (U_FAILURE(status)) {
|
||||
return;
|
||||
}
|
||||
checkAbuttingHoursAndMinutes();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue