Ardupilot2/libraries/AP_Proximity
Peter Barker cb6907992b AP_Proximity: prevent buffer overflow in LD06 driver
We're using a value off the wire before it has been validated.  That value is used to limit indexing into a buffer, and that buffer isn't big enough to handle all possible "bad" values that index could take on.  Note that "read" here returns int16_t....
2024-12-19 22:58:29 +11:00
..
AP_Proximity_AirSimSITL.cpp
AP_Proximity_AirSimSITL.h
AP_Proximity_Backend_Serial.cpp
AP_Proximity_Backend_Serial.h
AP_Proximity_Backend.cpp
AP_Proximity_Backend.h
AP_Proximity_Boundary_3D.cpp
AP_Proximity_Boundary_3D.h
AP_Proximity_config.h
AP_Proximity_Cygbot_D1.cpp
AP_Proximity_Cygbot_D1.h
AP_Proximity_DroneCAN.cpp
AP_Proximity_DroneCAN.h
AP_Proximity_LD06.cpp
AP_Proximity_LD06.h
AP_Proximity_LightWareSerial.cpp
AP_Proximity_LightWareSerial.h
AP_Proximity_LightWareSF40C.cpp
AP_Proximity_LightWareSF40C.h
AP_Proximity_LightWareSF45B.cpp
AP_Proximity_LightWareSF45B.h
AP_Proximity_MAV.cpp
AP_Proximity_MAV.h
AP_Proximity_MR72_CAN.cpp
AP_Proximity_MR72_CAN.h
AP_Proximity_Params.cpp
AP_Proximity_Params.h
AP_Proximity_RangeFinder.cpp
AP_Proximity_RangeFinder.h
AP_Proximity_RPLidarA2.cpp
AP_Proximity_RPLidarA2.h
AP_Proximity_Scripting.cpp
AP_Proximity_Scripting.h
AP_Proximity_SITL.cpp
AP_Proximity_SITL.h
AP_Proximity_TeraRangerTower.cpp
AP_Proximity_TeraRangerTower.h
AP_Proximity_TeraRangerTowerEvo.cpp
AP_Proximity_TeraRangerTowerEvo.h
AP_Proximity_Utils.cpp
AP_Proximity.cpp
AP_Proximity.h
LogStructure.h