...
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
CON27- J | low | probable | medium | P4 | L3 |
Automated Detection
TODOThe Coverity Prevent Version 5.0 DOUBLE_CHECK_LOCK checker can detect the instance where a variable is being checked for initialization outside of a synchronized section, then checking again once inside the section. The double checked lock idiom can result in race conditions in a multi-threaded application, and is unnecessary in a single-threaded one.
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...