1 --- icu/source/common/ubidi.c.orig 2014-12-19 10:23:38.103928414 +0000
2 +++ icu/source/common/ubidi.c 2014-12-19 10:26:58.370071527 +0000
4 /* The isolates[] entries contain enough information to
5 resume the bidi algorithm in the same state as it was
6 when it was interrupted by an isolate sequence. */
7 - if(dirProps[start]==PDI) {
8 + if(dirProps[start]==PDI && pBiDi->isolateCount >= 0) {
9 levState.startON=pBiDi->isolates[pBiDi->isolateCount].startON;
10 start1=pBiDi->isolates[pBiDi->isolateCount].start1;
11 stateImp=pBiDi->isolates[pBiDi->isolateCount].stateImp;