Versions Compared

Key

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

...

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

Related Guidelines

CERT C++ Secure Coding StandardEXP11-CPP. Do not apply operators expecting one type to data of an incompatible type
ISO/IEC TR 24772Bit representations [STR]
MISRA-CRule 3.5 (required): If it is being relied upon, the implementation-defined behaviour and packing of bitfields shall be documented

Bibliography

[Plum 1985]Rule 6-5: In portable code, do not depend upon the allocation order of bit-fields within a word

...