Allow missing Null terminator after the final entry

This commit is contained in:
Mark Grimes 2017-01-06 09:34:56 +00:00 committed by GitHub
parent 3e71445267
commit 7308104c6c
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ hlBool CVPKFile::MapDataStructures()
} }
} }
while(hlTrue) while(lpViewData != lpViewDirectoryDataEnd)
{ {
const hlChar *lpExtension; const hlChar *lpExtension;
if(!this->MapString(lpViewData, lpViewDirectoryDataEnd, lpExtension)) if(!this->MapString(lpViewData, lpViewDirectoryDataEnd, lpExtension))