Fix RsGxsNetService::handleRecvPublishKeys when grpMeta is NULL

Bug noted by Papache
This commit is contained in:
Phenom 2016-08-08 19:05:42 +02:00
parent dea776a61a
commit 72d743584a

View File

@ -4827,6 +4827,10 @@ void RsGxsNetService::handleRecvPublishKeys(RsNxsGroupPublishKeyItem *item)
// update the publish keys in this group meta info
RsGxsGrpMetaData *grpMeta = grpMetaMap[item->grpId] ;
if (!grpMeta) {
std::cerr << "(EE) RsGxsNetService::handleRecvPublishKeys() grpMeta not found." << std::endl;
return ;
}
// Check that the keys correspond, and that FULL keys are supplied, etc.