mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Engine: reduce reason buffer stack size
64 chars will cover all reasons returned by l8w8jwt_get_validation_result_desc.
This commit is contained in:
parent
79f8b46d62
commit
02087fef5e
@ -134,7 +134,7 @@ bool CClient::Authenticate(const char* const playerName, char* const reasonBuf,
|
||||
|
||||
if (validation_result != L8W8JWT_VALID)
|
||||
{
|
||||
char reasonBuffer[256];
|
||||
char reasonBuffer[64];
|
||||
l8w8jwt_get_validation_result_desc(validation_result, reasonBuffer, sizeof(reasonBuffer));
|
||||
|
||||
ERROR_AND_RETURN("%s", reasonBuffer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user