Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs committed Feb 9, 2022
1 parent 8fce732 commit d088966
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/transport/SessionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -601,13 +601,16 @@ void SessionManager::SecureGroupMessageDispatch(const PacketHeader & packetHeade
PayloadHeader payloadHeader;
SessionMessageDelegate::DuplicateMessage isDuplicate = SessionMessageDelegate::DuplicateMessage::No;
Credentials::GroupDataProvider * groups = Credentials::GetGroupDataProvider();
GroupId groupId;
VerifyOrReturn(nullptr != groups);

if (!packetHeader.GetDestinationGroupId().HasValue())
{
return; // malformed packet
}

groupId = packetHeader.GetDestinationGroupId().Value();

if (msg.IsNull())
{
ChipLogError(Inet, "Secure transport received Groupcast NULL packet, discarding");
Expand Down

0 comments on commit d088966

Please sign in to comment.