Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > 3a94e50e5e21935dc575fc6cf5f6192d > files > 5

icu-53.1-12.mga5.src.rpm

Index: /icu/trunk/source/common/ubidi.c
===================================================================
--- /icu/trunk/source/common/ubidi.c	(revision 37161)
+++ /icu/trunk/source/common/ubidi.c	(revision 37162)
@@ -2139,5 +2139,5 @@
        resume the bidi algorithm in the same state as it was
        when it was interrupted by an isolate sequence. */
-    if(dirProps[start]==PDI) {
+    if(dirProps[start]==PDI  && pBiDi->isolateCount >= 0) {
         levState.startON=pBiDi->isolates[pBiDi->isolateCount].startON;
         start1=pBiDi->isolates[pBiDi->isolateCount].start1;