...
| Code Block | ||||
|---|---|---|---|---|
| ||||
class C {
int DependsOnSomeVal;
int SomeVal;
public:
C(int val) : SomeVal(val), DependsOnSomeVal(SomeVal + 1) {}
}; |
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
class B1 {
int Val;
public:
B1(int V) : Val(V) {}
};
class B2 {
int OtherVal;
public:
B2(int V) : OtherVal(V) {}
};
class D : B1, B2 {
D(int A) : B2B1(A), B1B2(A) {}
}; |
Risk Assessment
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
|---|---|---|---|---|---|
OOP37-CPP | Medium | Unlikely | Medium | P4 | L3 |
...
Tool | Version | Checker | Description | ||||||
| 4053,4056,4058 | ||||||||
| Clang |
| -Wreorder |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...