Fix null pointer reference

This commit is contained in:
Christoph Hagen 2023-12-11 00:04:59 +01:00
parent b9e5fa1f89
commit 00d877c13a

View File

@ -197,8 +197,8 @@ void SesameController::prepareResponseBuffer(MessageResult result, Message* mess
outgoingMessage.message.messageType = MessageType::response;
}
} else {
outgoingMessage.message.clientChallenge = message->clientChallenge;
outgoingMessage.message.serverChallenge = message->serverChallenge;
outgoingMessage.message.clientChallenge = 0;
outgoingMessage.message.serverChallenge = 0;
outgoingMessage.message.messageType = MessageType::response;
}