ros / ros_comm

ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).
http://wiki.ros.org/ros_comm
745 stars 911 forks source link

Fix segfault with default-constructed rosbag::ChunkedFile::swap #2363

Open Hugal31 opened 7 months ago

Hugal31 commented 7 months ago

Only update the read and write stream if their pointers are not null.

Closes #2362.