mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-29 07:59:47 +00:00
Null check
This commit is contained in:
parent
2c071a3283
commit
3dd384dd53
@ -505,7 +505,7 @@ bool AdminModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshta
|
||||
if (mp.decoded.want_response && !myReply) {
|
||||
myReply = allocErrorResponse(meshtastic_Routing_Error_NONE, &mp);
|
||||
}
|
||||
if (mp.pki_encrypted) {
|
||||
if (mp.pki_encrypted && myReply) {
|
||||
myReply->pki_encrypted = true;
|
||||
}
|
||||
return handled;
|
||||
|
Loading…
Reference in New Issue
Block a user