From 26bdbde4679989a452cf7d2c5e29ceb6e0036ce3 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 7 Jan 2022 21:22:51 +0100 Subject: Core/DataStores: Fixed a crash in db2 loader happening when trying to load additional localized strings from a db2 file newer than db2 for default worldserver locale --- src/common/DataStores/DB2FileLoader.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/DataStores/DB2FileLoader.cpp') 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; -- cgit v1.2.3