roboticslab-uc3m / openrave-yarp-plugins

OpenRAVE plugins to interface OpenRAVE with YARP.
https://robots.uc3m.es/openrave-yarp-plugins/
GNU Lesser General Public License v2.1
3 stars 1 forks source link

Beware: -1 can act as size_t max #75

Closed jgvictores closed 6 years ago

jgvictores commented 6 years ago

Beware: -1 can act as size_t max

When: In many checks wrt .size() in DeviceDriverImpl of this repo

Solution: Check for -1 before this comparison

jgvictores commented 6 years ago

Fixed at d0414425144779b1f070f9c9f7742c3a61bc1050.