Feature #7990
closedReinitialize memory for missed probe callback
0%
Description
If EMG misses an initialization callback implementation, then it may call several times a release callback which can free unallocated memory. If resources in the case even has been allocated a double free error anyway will occur.
It is proposed to reinitialize its parameters with an external allocating function in the case. This should be implemented as a configuration option that will contain names of roles for which such reinitialization should be done.
Updated by Ilja Zakharov about 7 years ago
- Status changed from New to Feedback
Implemented in the branch emg-reinitializations. One should EMG set translation option setting a list of actions that require such reinitialization. For example:
"callback actions with reinitialization": ["probe"]
Updated by Evgeny Novikov about 7 years ago
- Status changed from Feedback to Closed
I merged the branch to master in 1f27f71 without any testing.
Updated by Evgeny Novikov about 7 years ago
- Status changed from Closed to Feedback
Let's wait for a feedback from Anton in a ~week.
Updated by Evgeny Novikov about 7 years ago
- Status changed from Feedback to Closed
Feedback wasn't provided.