Commit 485f9d80 authored by Dominik Charousset's avatar Dominik Charousset

Fix heap-use-after-free in logging events

parent daef91bc
...@@ -507,8 +507,7 @@ inline caf::actor_id caf_set_aid_dummy() { return 0; } ...@@ -507,8 +507,7 @@ inline caf::actor_id caf_set_aid_dummy() { return 0; }
#define CAF_LOG_TERMINATE_EVENT(thisptr, rsn) \ #define CAF_LOG_TERMINATE_EVENT(thisptr, rsn) \
CAF_LOG_IMPL(CAF_LOG_FLOW_COMPONENT, CAF_LOG_LEVEL_DEBUG, \ CAF_LOG_IMPL(CAF_LOG_FLOW_COMPONENT, CAF_LOG_LEVEL_DEBUG, \
"TERMINATE ; ID =" \ "TERMINATE ; ID =" << thisptr->id() \
<< thisptr->id() << "; NAME =" << thisptr->name() \
<< "; REASON =" << deep_to_string(rsn).c_str() \ << "; REASON =" << deep_to_string(rsn).c_str() \
<< "; NODE =" << thisptr->node()) << "; NODE =" << thisptr->node())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment