...
Code Block | ||
---|---|---|
| ||
/* Swaps two values, requires tmp variable to be defined */
#define SWAP(x, y) \
tmp = x; \
x = y; \
y = tmp
|
...
Code Block | ||
---|---|---|
| ||
/* 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.
...