14 lines
637 B
Plaintext
14 lines
637 B
Plaintext
![]() |
include::../description.adoc[]
|
||
|
|
||
|
include::../noncompliant.adoc[]
|
||
|
|
||
|
include::../compliant.adoc[]
|
||
|
|
||
|
== See
|
||
|
|
||
|
* MISRA C:2004, 7.1 - Octal constants (other than zero) and octal escape sequences shall not be used.
|
||
|
* MISRA C++:2008, 2-13-2 - Octal constants (other than zero) and octal escape sequences (other than "\0") shall not be used
|
||
|
* MISRA C:2012, 7.1 - Octal constants shall not be used
|
||
|
* https://www.securecoding.cert.org/confluence/x/_QC7AQ[CERT, DCL18-C.] - Do not begin integer constants with 0 when specifying a decimal value
|
||
|
* https://www.securecoding.cert.org/confluence/x/hYClBg[CERT, DCL50-J.] - Use visually distinct identifiers
|