Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by sciSpider (sch jbop) (X_X)@==(Q_Q)@

...

Code Block
bgColor#ffcccc
/* Swaps two values, requires tmp variable to be defined */
#define SWAP(x, y) \
  tmp = x; \
  x = y; \
  y = tmp

...

Code Block
bgColor#ccccff
/* Swaps two values, requires tmp variable to be defined */
#define SWAP(x, y) \
  do { \
    tmp = x; \
    x = y; \
    y = tmp; \
  while (0)

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

PRE10-A

high

high

low

P9

P???

L??? L2

Related Vulnerabilities

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

...