Skip to content

Commit

Permalink
fix: writing over SENSOR_STRING char* boundaries
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidPL1 committed Jul 31, 2024
1 parent c7cfb8e commit d657fc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ class MujocoRosSensorsPlugin : public mujoco_ros::MujocoPlugin
mujoco_ros_msgs::RegisterSensorNoiseModels::Response &rep);
};

const char *SENSOR_STRING[36];
const char *SENSOR_STRING[37];

} // namespace mujoco_ros::sensors

0 comments on commit d657fc2

Please sign in to comment.