ros / dynamic_reconfigure

BSD 3-Clause "New" or "Revised" License
48 stars 111 forks source link

Changed variable to size_t for consistency #196

Open karina-ranadive opened 11 months ago

karina-ranadive commented 11 months ago

My team utilizes dynamic_reconfigure and we have a security vulnerability from the code that is auto generated from dynamic_reconfigure.parameter_generator_catkin that utilizes the ConfigType.h template. It involves an issue with consistency of comparison between msg.bools.size() and an unsigned int. To fix this, I made the unsigned int i variable in 4 lines a wider type of size_t to enable consistency in the for loop.