diff --git a/mp/src/tier1/convar.cpp b/mp/src/tier1/convar.cpp index 772586f2..adc41f51 100644 --- a/mp/src/tier1/convar.cpp +++ b/mp/src/tier1/convar.cpp @@ -359,7 +359,7 @@ CCommand::CCommand( int nArgC, const char **ppArgV ) { *pSBuf++ = '\"'; } - memcpy( pSBuf, ppArgV[i], nLen ); + memcpy( pSBuf, ppArgV[i], nLen+1 ); pSBuf += nLen; if ( bContainsSpace ) {