...
Code Block | ||||
---|---|---|---|---|
| ||||
/* * Swaps two values and * Requiresrequires tmp variable to be defined. */ #define SWAP(x, y) \ tmp = x; \ x = y; \ y = tmp |
...
Code Block | ||||
---|---|---|---|---|
| ||||
/* * Swaps two values and * Requiresrequires tmp variable to be defined. */ #define SWAP(x,y) { tmp = x; x = y; y = tmp; } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
/* * Swaps two values and * Requiresrequires tmp variable to be defined. */ #define SWAP(x, y) \ do { \ tmp = x; \ x = y; \ y = tmp; } \ while (0) |
...
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
PRE10-C | Medium | PprobableProbable | Low | P12 | L1 |
Automated Detection
...