Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added automated detection info

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

CON34- J

medium

probable

medium

P8

L2

Automated Detection

...

The following table summarizes the examples flagged as violations by SureLogic tools:

Noncompliant Code Example

FlashLight

Message

JSure

Message

non-static lock object for static data

No

No obvious issues

Yes

modeling problem: static region "counter" should be protected by a static field

method synchronization for static data

No

No obvious issues

Yes

modeling problem: static region "counter" should be protected by a static field

Related Vulnerabilities

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

...