ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).
752
stars
911
forks
source link
Code in TransportTCP::getClientURI depends on uninitialized value #2251
Open
roversch opened 2 years ago
I'm on
noetic
, version is1.15.14-1focal.20220106.235155
valgrind
is reporting usage of uninitialized memory in the following line inTransportTCP::getClientURI()
:Indeed, the
ss_family
is never set (IPv4 or IPv6).A possible solution could use
getaddrinfo
.Valgrind log: