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.

Other Languages

This rule appears in the C++ Secure Coding Standard as PRE30-CPP. Do not create a universal character name through concatenation.

References

Wiki Markup
\[[ISO/IEC 10646-2003|AA. C References#ISO/IEC 10646-2003]\]
\[[ISO/IEC 9899:1999|AA. C References#ISO/IEC 9899-1999]\] Section 5.1.1.2, ""Translation phases,"" Section 6.4.3, ""Universal character names,"" and Section 6.10.3.3, ""The ## operator""

...

PRE10-C. Wrap multi-statement macros in a do-while loop            01. Preprocessor (PRE)              PRE31-C. Never invoke an unsafe macro with arguments containing assignment, increment, decrement, volatile access, or function call