From 7308104c6c684161d72aee7e1b795fe5216350d5 Mon Sep 17 00:00:00 2001 From: Mark Grimes Date: Fri, 6 Jan 2017 09:34:56 +0000 Subject: [PATCH] Allow missing Null terminator after the final entry --- HLLib/VPKFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HLLib/VPKFile.cpp b/HLLib/VPKFile.cpp index 02027ac..d31a678 100644 --- a/HLLib/VPKFile.cpp +++ b/HLLib/VPKFile.cpp @@ -115,7 +115,7 @@ hlBool CVPKFile::MapDataStructures() } } - while(hlTrue) + while(lpViewData != lpViewDirectoryDataEnd) { const hlChar *lpExtension; if(!this->MapString(lpViewData, lpViewDirectoryDataEnd, lpExtension))