You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TransportConfigQos (accessed by qos.transport()) does not have any attribute named transport_type, as you can see in our documentation. Could you please review what you are trying to access?
Also, it would be great if you could tell us what Fast DDS version you are using.
Is there an already existing issue for this?
Expected behavior
...
Current behavior
Found when scanning with Coverity,
qos.transport().transport_type
does not seem to be initialized, which may cause problems such as crash. Whenxml_config_file_.length() <= 0U
, it will entercreate_participant()
.https://wiki.sei.cmu.edu/confluence/display/cplusplus/EXP53-CPP.+Do+not+read+uninitialized+memory
Steps to reproduce
...
Fast DDS version/commit
...
Platform/Architecture
Ubuntu Focal 20.04 amd64
Transport layer
Default configuration, UDPv4 & SHM
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
The text was updated successfully, but these errors were encountered: