Fix buffer overflow when setting a NETVAR string CVar
There was a possible buffer overflow if you tried setting a console var that had the CV_NETVAR and that was of the string type. The overflow would happen if you were trying to set the console variable while in a multiplayer / netgame state. This commit just increases the size of buf to account for everything that needs to be written to it.
parent
c2b57e26
No related branches found
No related tags found
Loading
Please register or sign in to comment