Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Correcting colors

...

This compliant solution does not declare the variable at file scope to be static and so the variable has external linkage by default.

Code Block
bgColor#ffcccc#ccccff
langc
int I = 12;
extern inline void func(int a) {
  int b = a * I;
  /* ... */
}

Risk  Risk Assessment

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

DCL41-C

Low

Unlikely

Medium

P2

L3

...