Skip to content

Commit

Permalink
EKF1: Fix stack smashing resulting from uninitialized publication
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzMeier committed May 21, 2016
1 parent 2f52c90 commit 5070238
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ AttitudePositionEstimatorEKF::AttitudePositionEstimatorEKF() :
_newAdsData(false),
_newDataMag(false),
_newRangeData(false),
_mavlink_log_pub(nullptr),

_mag_offset_x(this, "MAGB_X"),
_mag_offset_y(this, "MAGB_Y"),
Expand Down

0 comments on commit 5070238

Please sign in to comment.