We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ParticipantProxyData
1 parent cbfb1e1 commit df80e44Copy full SHA for df80e44
src/cpp/rtps/builtin/discovery/participant/PDPClient.cpp
@@ -774,7 +774,15 @@ void PDPClient::announceParticipantState(
774
if (getRTPSParticipant()->is_secure())
775
{
776
// Need the mangled guid prefix in this case
777
- srv_guid_prefix = get_participant_proxy_data(svr.guidPrefix)->m_guid.guidPrefix;
+ auto pdata = get_participant_proxy_data(svr.guidPrefix);
778
+ if (nullptr != pdata)
779
+ {
780
+ srv_guid_prefix = pdata->m_guid.guidPrefix;
781
+ }
782
+ else
783
784
+ continue;
785
786
}
787
#endif // HAVE_SECURITY
788
locators.push_back(svr.metatrafficUnicastLocatorList);
0 commit comments