...
Exceptions
Wiki Markup |
---|
*LCK10-EX1:* TheUse of the noncompliant form of the double-checked locking idiom canis bepermitted used for 32-bit primitive values (for example, {{int}} or {{float}}) \[[Pugh 2004|AA. Bibliography#Pugh 04]\], although this usage is discouraged. Note that the itnoncompliant form fails for {{long}} or {{double}} because unsynchronized reads/writes of 64-bit primitives are lack a guarantee of atomicity. (See rule [VNA05-J. Ensure atomicity when reading and writing 64-bit values].) |
...
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
LCK10-J | low | probable | medium | P4 | L3 |
Automated Detection
TODO
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="affb67d352642f8f-1a42de28-48e14702-b6ae8610-50ae70616fe9c34f5d1a4998"><ac:plain-text-body><![CDATA[ | [[API 2006 | AA. Bibliography#API 06]] |
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0d082e5905263c6e-b72a41ef-43084945-b7268e94-4bb13eaf6b3b3bf4f18b2fff"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS 05]] | Section 12.4, "Initialization of Classes and Interfaces" | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1980ecc1a9397f14-695fdd1a-4f5d49c1-93239bd3-79534a8ae31bbe8be119c347"><ac:plain-text-body><![CDATA[ | [[Pugh 2004 | AA. Bibliography#Pugh 04]] |
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="875f37f72cccc3d0-b987af32-4d99401c-9c0c8606-dd6a288cb230c8a889dbd108"><ac:plain-text-body><![CDATA[ | [[Bloch 2001 | AA. Bibliography#Bloch 01]] | Item 48: "Synchronize access to shared mutable data" | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4602f6af1356cf24-c5f40461-446b4be2-9cec86fe-e377a89fa872e8321807852f"><ac:plain-text-body><![CDATA[ | [[Bloch 2008 | AA. Bibliography#Bloch 08]] | Item 71: "Use lazy initialization judiciously"]]></ac:plain-text-body></ac:structured-macro> |
...