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 StandardEXP15-CPP. Beware of integer promotion when performing bitwise operations on chars or shorts
MISRA-CRule 10.5 (required): If the bitwise operators ~ and << are applied to an operand of underlying type unsigned char or unsigned short,
the result shall be immediately cast to the underlying type of the operand