mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 10:17:23 +00:00
ICU-5480 resolved alias array size check problem in getEquivalentID
X-SVN-Rev: 20598
This commit is contained in:
parent
e31934eb83
commit
f6f17b4a8e
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ public final class ZoneMeta {
|
|||
if (size == 4 || size == 6) {
|
||||
ICUResourceBundle r = res.get(size-1);
|
||||
int[] v = r.getIntVector();
|
||||
if (index >= 0 && index < size && getOlsonMeta()) {
|
||||
if (index >= 0 && index < v.length && getOlsonMeta()) {
|
||||
zone = v[index];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue