diff --git a/src/engine/client/serverbrowser.cpp b/src/engine/client/serverbrowser.cpp index dbbcf4374..9c46ae1eb 100644 --- a/src/engine/client/serverbrowser.cpp +++ b/src/engine/client/serverbrowser.cpp @@ -1066,6 +1066,7 @@ bool CServerBrowser::DDNetFiltered(char *pFilter, const char *pName) void CServerBrowser::DDNetCountryFilterClean() { char aNewList[128]; + mem_zero(aNewList, sizeof(aNewList)); for(int i = 0; i < m_NumDDNetCountries; i++) { @@ -1084,6 +1085,7 @@ void CServerBrowser::DDNetCountryFilterClean() void CServerBrowser::DDNetTypeFilterClean() { char aNewList[128]; + mem_zero(aNewList, sizeof(aNewList)); for(int i = 0; i < m_NumDDNetTypes; i++) {