              le_uint16 lookupFlags = SWAPW(lookupTable->lookupFlags);
 
              glyphIterator.reset(lookupFlags, selectMask);
-@@ -96,6 +102,9 @@
+@@ -96,6 +100,9 @@
      for (le_uint16 lookup = 0; lookup < lookupCount; lookup += 1) {
          le_uint16 lookupListIndex = SWAPW(featureTable->lookupListIndexArray[lookup]);
 

       lookupOrderArray(NULL), lookupOrderCount(0)
 {
     const ScriptListTable *scriptListTable = NULL;
@@ -146,6 +155,8 @@
         lookupSelectArray[i] = 0;
     }


     le_int32 count, order = 0;
     le_int32 featureReferences = 0;
     const FeatureTable *featureTable = NULL;
@@ -162,6 +171,10 @@
         le_uint16 featureIndex = SWAPW(langSysTable->featureIndexArray[feature]);

         featureTable = featureListTable->getFeatureTable(featureIndex, &featureTag);
+
+        if (!featureTable)
+             continue;
+
         featureReferences += SWAPW(featureTable->lookupCount);
     }

