jdk/src/share/native/sun/font/layout/MarkToBasePosnSubtables.cpp
changeset 18256 79d3f8278a38
parent 16891 91e99bed64ae
child 22330 cafb826672bd
--- a/jdk/src/share/native/sun/font/layout/MarkToBasePosnSubtables.cpp	Fri Apr 26 11:46:50 2013 +0400
+++ b/jdk/src/share/native/sun/font/layout/MarkToBasePosnSubtables.cpp	Fri Apr 26 15:06:51 2013 -0700
@@ -56,6 +56,10 @@
     LEGlyphID markGlyph = glyphIterator->getCurrGlyphID();
     le_int32 markCoverage = getGlyphCoverage(base, (LEGlyphID) markGlyph, success);
 
+    if (LE_FAILURE(success)) {
+      return 0;
+    }
+
     if (markCoverage < 0) {
         // markGlyph isn't a covered mark glyph
         return 0;