Versions Compared

Key

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

...

CERT C Secure Coding Standard: "EXP18-C. Do not perform assignments in selection statements"
CERT C++ Secure Coding Standard: "EXP19-CPP. Do not perform assignments in conditional expressions"
ISO/IEC TR 24772 "KOA Likely Incorrect Expressions"
MITRE CWE: CWE-480, "Use of Incorrect Operator"

Bibliography

<ac:structured-macro ac:name="unmigrated-wiki-markup

...

" ac:schema-version="1" ac:macro-id="66c05cd7-d81f-445d-b4cd-8087aead5b34"><ac:plain-text-body><![CDATA[

[[Hatton

...

1995

...

AA.

...

Bibliography#Hatton

...

95]

...

]

...

Section

...

2.7.2,

...

"Errors

...

of

...

omission

...

and

...

addition"

]]></ac:plain-text-body></ac:structured-macro>

...

      02. Expressions (EXP)      EXP05-J. Use braces for the body of an if, for, or while statement