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 StandardEXP36-CPP. Do not convert pointers into more strictly aligned pointer types
ISO/IEC TR 24772Pointer casting and pointer type changes [HFC]
ISO/IEC TS 17961 (Draft)Converting pointer values to more strictly aligned pointer types [alignconv]
MISRA-CRule 11.2 (required): Conversions shall not be performed between a pointer to object and any type other than an integral type, another pointer to
   object type or a pointer to void
Rule 11.3 (advisory): A cast should not be performed between a pointer type and an integral type

Bibliography

...