The product calls a non-reentrant function in a concurrent context in which a competing code sequence (e.g. thread or signal handler) may have an opportunity to call the same function or otherwise influence its state.
Use reentrant functions if available.
Add synchronization to your non-reentrant function.
In Java, use the ReentrantLock Class.
Our security experts can help you identify and remediate CWE-663 vulnerabilities in your codebase.
Get Security Assessment