mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-02-06 20:26:07 +08: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:
committed by
Randy Mackay
parent
7e849180ba
commit
108bc0b3d7
Submodule modules/DroneCAN/libcanard updated: 6f74bc6765...9b05a4d8ee
Reference in New Issue
Block a user