|
Status: Draft Weakness ID: 663 (Weakness Base)Description Summary The software calls a non-reentrant function in a context where a competing thread may have an opportunity to call the same function or otherwise influence its state. Potential Mitigations Use reentrant functions if available. Add synchronization to your non-reentrant function. In Java, you can use the ReentrantLock Class. References Java Concurrency API, SUN. "Class ReentrantLock". <http:/ Dipak Jha (dipakjha@in.ibm.com), Software Engineer, IBM. "Use reentrant functions for safer signal handling". <http:/ Relationships
Time of Introduction Architecture and Design ImplementationContent History Modifications Eric Dalci. Cigital. 2008-07-01. (External) updated References, Potential_Mitigations, Time_of_Introduction CWE Content Team. MITRE. 2008-09-08. (Internal) updated Relationships, References |
|
|
|||