
...
Blocking or lengthy operations performed within synchronized regions could result in a deadlocked or an unresponsive system.
Recommendation | Severity | Likelihood |
---|
Detectable | Repairable | Priority | Level |
---|---|---|---|
CON05-C | Low | Probable |
No | No | P2 | L3 |
Automated Detection
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
CodeSonar |
| CONCURRENCY.STARVE.BLOCKING | Blocking in critical section | ||||||
Klocwork |
| CONC.SLEEP |
Parasoft C/C++test |
| CERT_C-CON05-a | Do not use blocking functions while holding a lock | |||||||
Polyspace Bug Finder |
| CERT C: Rec. CON05-C | Checks for blocking operation while holding lock (Rec. partially covered) | ||||||
Security Reviewer - Static Reviewer | 6.02 | C12 | Fully Implemented |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
Key here (explains table format and definitions)
Taxonomy | Taxonomy item | Relationship |
---|---|---|
CERT Oracle Secure Coding Standard for Java | LCK09-J. Do not perform operations that can block while holding a lock |
...
Prior to 2018-01-12: CERT: Unspecified Relationship | ||
MITRE CWE | CWE-557 | Prior to 2018-01-12: |
MITRE CWE | CWE-662 | Prior to 2018-01-12: |
...