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
There is a possible race condition in the CLog class. Log doesn't lock the mutex to access the member variable m_level.
How to reproduce
Concurrently calling Log and SetLogLevel functions which will result in a datarace.
Probably, log_level and actual logging variables (file...) need to be protected separately.
Could be fixed, or handled separately, see (#1377)
How did you get eCAL?
Other
Environment
eCAL master.
eCAL System Information
No response
The text was updated successfully, but these errors were encountered:
Problem Description
There is a possible race condition in the
CLog
class.Log doesn't lock the mutex to access the member variable
m_level
.How to reproduce
Concurrently calling
Log
andSetLogLevel
functions which will result in a datarace.Probably, log_level and actual logging variables (file...) need to be protected separately.
Could be fixed, or handled separately, see (#1377)
How did you get eCAL?
Other
Environment
eCAL master.
eCAL System Information
No response
The text was updated successfully, but these errors were encountered: