Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copter: avoid nullptr deref in config_error_loop
we may enter the config_error_loop before we call Copter's methods which allocate the wpnav object. We send mavlink messages in the config error loop, one of which calls this method - so we end up with a nullptr dereference. We might be able to find a way to stop sending this message in the config error loop, but that's likely to take some time to do....
- Loading branch information