mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2025-12-10 00:28:42 -06:00
DroneCAN: update libcanard for semaphore bug fix
it was possible for a runtime allocated subscriber, client or server to trigger a call to a pure virtual handle_message function in the HandlerList class as the constructor ordering inserts the handler into the list before the vtable pointer is updated to the vtable for the child class. The same issue happens on destructor this could happen in a couple of places in ArduPilot: - the MPPT battery driver does runtime allocation of a client on an R/C switch - the DroneCAN_Serial client is started after the thread starts so packet processing is started thanks to Thomas and Sid
This commit is contained in:
parent
7e849180ba
commit
108bc0b3d7
@ -1 +1 @@
|
||||
Subproject commit 6f74bc67656882a4ee51966c7c0022d04fa1a3fb
|
||||
Subproject commit 9b05a4d8eebf82684053d07e6d04fe2b0c922a6e
|
||||
Loading…
x
Reference in New Issue
Block a user