Andrew Tridgell 108bc0b3d7 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
2025-04-30 08:29:40 +09:00
..
2022-06-12 15:39:44 +10:00
2024-01-12 14:23:34 -08:00
2023-04-26 14:07:43 +10:00