diff --git a/r5dev/networksystem/bansystem.cpp b/r5dev/networksystem/bansystem.cpp index aa0f9f7d..12088126 100644 --- a/r5dev/networksystem/bansystem.cpp +++ b/r5dev/networksystem/bansystem.cpp @@ -24,7 +24,7 @@ void CBanSystem::Load(void) return; uint32_t nLen = FileSystem()->Size(pFile); - char* pBuf = MemAllocSingleton()->Alloc(nLen); + char* pBuf = MemAllocSingleton()->Alloc(nLen + 1); int nRead = FileSystem()->Read(pBuf, nLen, pFile); FileSystem()->Close(pFile);