You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The private Thread::_logger() class function returns a nullptr whenever tracing is (temporarily) inhibited. This inibit mechanism is used on Linux while setting up the tracing infrastructure. In any case, the Trace::trace accessors must not unconditionally de-reference the returned pointer.
The pointer returned by '_logger()' can be a nullptr, in particular
while tracing is (temporarily) inhibited. This patch ensures that
the 'Thread::trace' accessors never operate on a nullptr.
Fixes#5410
The private
Thread::_logger()
class function returns a nullptr whenever tracing is (temporarily) inhibited. Thisinibit
mechanism is used on Linux while setting up the tracing infrastructure. In any case, theTrace::trace
accessors must not unconditionally de-reference the returned pointer.Related to #4915
The text was updated successfully, but these errors were encountered: