Skip to content

Commit d657fc2

Browse files
committedJul 31, 2024
fix: writing over SENSOR_STRING char* boundaries
1 parent c7cfb8e commit d657fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎mujoco_ros_sensors/include/mujoco_ros_sensors/mujoco_sensor_handler_plugin.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,6 @@ class MujocoRosSensorsPlugin : public mujoco_ros::MujocoPlugin
102102
mujoco_ros_msgs::RegisterSensorNoiseModels::Response &rep);
103103
};
104104

105-
const char *SENSOR_STRING[36];
105+
const char *SENSOR_STRING[37];
106106

107107
} // namespace mujoco_ros::sensors

0 commit comments

Comments
 (0)