Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Parasoft C/C++test 10.4.1 update

...

If an exception occurs while a mutex is locked, deadlock may result.

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

CON51-CPP

Low

Probable

Low

P6

L2

Automated Detection

Tool

Version

Checker

Description

Parasoft C/C++test

Include Page
Parasoft_V
Parasoft_V

CERT_CPP-CON51-aDo not call lock() directly on a mutex

PRQA QA-C++

Include Page
PRQA QA-C++_V
PRQA QA-C++_V
5018
 

Related Vulnerabilities

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

...

This rule is a subset of ERR56-CPP. Guarantee exception safety.

Bibliography

[ISO/IEC 14882-2014]Subclause 30.4.2, "Locks"

...


...