C or C++ : Mutex double initialization
Overview
In programming, mutexes (mutual exclusions) are used to synchronize simultaneously running threads, and only the thread that owns the mutex can release it, i.e. transfer to the marked state.
The purpose of the mutex is to protect the object from access to other threads, other than the one that owns the mutex. In this case, only one thread can own an object protected by a mutex at any particular time.
This vulnerability means that the the program trying to initialize a initialized mutex. This is undefined behavior.
References
DerScanner Severity Score
Check your C/C++ code for this vulnerability, free
Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.
Try it on your code, free
By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.
