diff --git a/src/common/DataStores/DB2FileLoader.cpp b/src/common/DataStores/DB2FileLoader.cpp index abeeec006be..fe0a68eee48 100644 --- a/src/common/DataStores/DB2FileLoader.cpp +++ b/src/common/DataStores/DB2FileLoader.cpp @@ -554,6 +554,8 @@ char* DB2FileLoaderRegularImpl::AutoProduceStrings(char** indexTable, uint32 ind continue; char* recordData = indexTable[indexVal]; + if (!recordData) + continue; uint32 offset = 0; uint32 fieldIndex = 0;