ICU-5480 resolved alias array size check problem in getEquivalentID
X-SVN-Rev: 20598
This commit is contained in:
parent
e31934eb83
commit
f6f17b4a8e
@ -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…
Reference in New Issue
Block a user