Versions Compared

Key

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

Lower case letter 'l' (ell) can easily be confused with the digit '1' (one). This can be particularly confusing when indicating that an integer literal constant is a long value. This rule is similar to guideline recommendation DCL02-C. Use visually distinct identifiers.

...

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

Related Guidelines

CERT C++ Secure Coding Standard: DCL16-CPP. Use 'L', not 'l', to indicate a long value

Java The CERT Oracle Secure Coding Standard as for Java: DCL06-J. Use 'L', not 'l', to indicate a long value

...