mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-12 08:24:08 +00:00
ICU-1992 data packaging (a little crash prevention for bad cases)
X-SVN-Rev: 9246
This commit is contained in:
parent
d6fd164758
commit
751ad79746
1 changed files with 4 additions and 0 deletions
|
@ -1207,6 +1207,10 @@ uint32_t ucol_tok_assembleTokenList(UColTokenParser *src, UParseError *parseErro
|
|||
|
||||
ListList = src->lh;
|
||||
|
||||
if(U_FAILURE(*status)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
while(src->current < src->end) {
|
||||
src->parsedToken.prefixOffset = 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue