It seems to me ROS_ASSERT_MSG only works when ROS_ASSERT_ENABLED is defined.
This leads to a problem in the remove() function in clients/roscpp/src/libros/spinner.cpp.
When ROS_ASSERT_ENABLED is not defined, the iterator loop will run out
of the scope of the array, and cause overflow.
It seems to me ROS_ASSERT_MSG only works when ROS_ASSERT_ENABLED is defined.
This leads to a problem in the remove() function in clients/roscpp/src/libros/spinner.cpp.
When ROS_ASSERT_ENABLED is not defined, the iterator loop will run out
of the scope of the array, and cause overflow.
ros_comm/clients/roscpp/src/libros/spinner.cpp
Lines 94 to 97 in 29053c4
The text was updated successfully, but these errors were encountered: