Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Related Guidelines

CERT C++ Secure Coding StandardEXP32-CPP. Do not access a volatile object through a non-volatile reference
ISO/IEC TR 24772Pointer casting and pointer type changes [HFC]
Type system [IHN]
MISRA-CRule 11.5 (required): A cast shall not be performed that removes any const or volatile qualification from the type addressed by a pointer

Bibliography

[ISO/IEC 9899:2011]Section 6.7.3, "Type Qualifiers"