Fix crash.

This commit is contained in:
Mr_Goldberg 2022-08-10 03:24:53 -04:00
parent 7163daa6c1
commit c22b3cd3d3
No known key found for this signature in database
GPG Key ID: 8597D87419DEF278
1 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,8 @@ void Steam_Apps::RequestAppProofOfPurchaseKey( AppId_t nAppID )
bool Steam_Apps::GetCurrentBetaName( char *pchName, int cchNameBufferSize )
{
PRINT_DEBUG("GetCurrentBetaName %i\n", cchNameBufferSize);
if (!pchName) return false;
if (sizeof("public") > cchNameBufferSize) {
return false;
}