ardupilot/libraries/AP_Beacon
Paulo Neves 4108f22304 AP_Beacon: Corrected possible use of nullptr memory.
The check for UART port pointer is not sufficient
to know if the update() was possible or not. When
MarvelmindHedge construction failed, the hedge pointer
might be a nullptr and there are no checks to avoid
nullptr dereference.

The MarvelmindHedge structure had complex initialization
but was done in a C style, with intermixed initialization functions.
malloc() was changed to cleaner new operator. Given that the
file already contained new operator calls it didn't make
sense to have a mix. The files are cpp so C++ operators
are used.
2017-11-01 10:49:10 +09:00
..
examples/AP_Marvelmind_test global: use static method to construct AP_SerialManager 2017-09-26 03:01:21 +01:00
sitl AP_Beacon: Update parameters for EKF3 testing 2016-12-19 08:07:10 +11:00
AP_Beacon.cpp AP_Beacon: initialise counter in get_next_boundary_point 2017-06-20 16:34:41 +09:00
AP_Beacon.h AP_Beacon: update_boundary_points calculates outer perimeter around beacons 2017-06-14 16:07:32 +09:00
AP_Beacon_Backend.cpp AP_Beacon: added units in the comments documentation, to make the API easier to use 2017-05-16 14:46:07 +09:00
AP_Beacon_Backend.h AP_Beacon: remove debug and editor settings 2016-12-01 14:53:16 +09:00
AP_Beacon_Marvelmind.cpp AP_Beacon: Corrected possible use of nullptr memory. 2017-11-01 10:49:10 +09:00
AP_Beacon_Marvelmind.h AP_Beacon: Corrected possible use of nullptr memory. 2017-11-01 10:49:10 +09:00
AP_Beacon_Pozyx.cpp AP_Beacon: fix pozyx west-east processing 2017-06-14 16:07:32 +09:00
AP_Beacon_Pozyx.h AP_Beacon: remove debug and editor settings 2016-12-01 14:53:16 +09:00
AP_Beacon_SITL.cpp AP_Beacon: fit SITL beacon location 2017-06-09 15:24:36 +09:00
AP_Beacon_SITL.h AP_Beacon: remove debug and editor settings 2016-12-01 14:53:16 +09:00