SEI CERT Oracle Secure Coding Standard for Java - Guidelines 09. Locking (LCK)
A category in the Common Weakness Enumeration published by The MITRE Corporation.
Categories in the Common Weakness Enumeration (CWE) group entries based on some common characteristic or attribute.
Weaknesses in this category are related to the rules and recommendations in the Locking (LCK) section of the SEI CERT Oracle Secure Coding Standard for Java.
The program uses double-checked locking to access a resource without the overhead of explicit synchronization, but the locking is insufficient.
The software does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.
The software utilizes a shared resource in a concurrent manner but does not attempt to synchronize access to the resource.
The software properly checks for the existence of a lock, but the lock can be externally controlled or influenced by an actor that is outside of the intended sphere of...
CWE entries in this view (graph) are fully or partially eliminated by following the guidance presented in the online wiki that reflects that current rules and recommen...
- SEI CERT Oracle Coding Standard for Java : Rule 09. Locking (LCK)
The Software Engineering Institute