Open lvsoft opened 11 months ago
storage & storageEntrie are created in stack and will be released after canopen_app_init, while registered in CO_storage_init. This is definitely a problem and wasted me 2 days.
storage
storageEntrie
canopen_app_init
CO_storage_init
This is a use-after-free bug rather than a leak, but it definitely is a problem.
storage
&storageEntrie
are created in stack and will be released aftercanopen_app_init
, while registered inCO_storage_init
. This is definitely a problem and wasted me 2 days.