author | prr |
Fri, 24 Jul 2015 09:44:32 -0700 | |
changeset 33298 | 617fcb4b52f8 |
parent 33297 | 5970d160cbc0 |
child 33299 | 78f5508cde89 |
jdk/src/java.desktop/share/native/libfontmanager/layout/LookupTables.cpp | file | annotate | diff | comparison | revisions |
--- a/jdk/src/java.desktop/share/native/libfontmanager/layout/LookupTables.cpp Fri Jul 24 16:47:15 2015 +0100 +++ b/jdk/src/java.desktop/share/native/libfontmanager/layout/LookupTables.cpp Fri Jul 24 09:44:32 2015 -0700 @@ -91,6 +91,10 @@ LEReferenceTo<LookupSingle> entry(base, success, entries); LEReferenceTo<LookupSingle> trial(entry, success, extra); + if (!LE_SUCCESS(success)) { + return NULL; + } + if (SWAPW(trial->glyph) <= ttGlyph) { entry = trial; }