Skip to content
Snippets Groups Projects
Unverified Commit 68264e72 authored by Re Frag's avatar Re Frag
Browse files

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
1 merge request!2445Fix buffer overflow when setting NETVAR string console variable and ensure servername is within MAXSERVERNAME
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment