Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

EXP05-J

medium

probable

medium

P8

L2

Related Guidelines

CERT C Secure Coding Standard: EXP19-C. Use braces for the body of an if, for, or while statement

Bibliography

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="728842f3-72eb-43d1-8a04-b74011d65adf"><ac:plain-text-body><![CDATA[[[GNU 2010AA. References#GNU 10] ]

[Coding Standards, Section 5.3, "Clean Use of C Constructs"

http://www.gnu.org/prep/standards/standards.html#Syntactic-Conventions]

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2766ff22-b69b-442c-95a3-17d8b28cb9e5"><ac:plain-text-body><![CDATA[[[Rogue 2000AA. References#Rogue 2000]]

Rule 76: Use block statements instead of expression statements in control flow constructs

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

...

EXP51-J. Do not perform assignments in conditional statements      02. Expressions (EXP)