mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Raise concerns
This commit is contained in:
parent
24c8473524
commit
90f236a201
@ -97,7 +97,7 @@ void Config::SetPassword(const char *password) {
|
||||
bool Config::CheckAuth(const char *response) {
|
||||
size_t challengeLength = strlen(this->Challenge);
|
||||
|
||||
// Concatenate challenge with itself
|
||||
// Concatenate challenge with itself (dafuq ?)
|
||||
char *challengeAndResponse = (char*)bzalloc(challengeLength * 2);
|
||||
memcpy(challengeAndResponse, this->Challenge, challengeLength);
|
||||
memcpy(challengeAndResponse + challengeLength, this->Challenge, challengeLength);
|
||||
|
Loading…
x
Reference in New Issue
Block a user