diff --git a/mozilla/netwerk/streamconv/src/nsStreamConverterService.cpp b/mozilla/netwerk/streamconv/src/nsStreamConverterService.cpp index 696b4c92426..3ae541c4a28 100644 --- a/mozilla/netwerk/streamconv/src/nsStreamConverterService.cpp +++ b/mozilla/netwerk/streamconv/src/nsStreamConverterService.cpp @@ -390,6 +390,7 @@ nsStreamConverterService::FindConverter(const char *aContractID, nsCStringArray // reconstruct the CONTRACTID. // Get the predecessor. + if (!curState->predecessor) break; // no predecessor SCTableData *predecessorData = (SCTableData*)lBFSTable.Get(curState->predecessor); if (!predecessorData) break; // no predecessor, chain doesn't exist.