nasa-jpl/jsd

Incorrectly using the non-thread safe error list between PDO and SDO tasks

Closed this issue · 0 comments

OpenEtherCATsociety/SOEM#491

Turns out the ecx_pusherror and ecx_poperror are not thread safe.

ecx_pusherror is used within the SDO thread to add entries when SDO read and writes are encountered.
ecx_poperror is used within the primary JSD process and checked for emergency errors.

This vulnerability needs to be addressed ASAP without impacting the highly useful fetching of emergency codes.