Reduce address buffer size to 128

128 is the max size that the entire address string could be (with it being ipv6 and bracketed with ports).
This commit is contained in:
Kawe Mazidjatari 2023-04-30 02:10:57 +02:00
parent 4554a92e27
commit d978d0c745

View File

@ -45,7 +45,7 @@ private:
bool m_bReclaimFocusTokenField;
bool m_bQueryListNonRecursive; // When set, refreshes the server list once the next frame.
bool m_bQueryGlobalBanList;
char m_szServerAddressBuffer[256];
char m_szServerAddressBuffer[128];
char m_szServerEncKeyBuffer[30];
float m_flFadeAlpha;