Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

OBJ30-CPP

1 (low)

1 (unlikely)

2 (medium)

P2

L3

Other Languages

This rule appears in the Java Secure Coding Standard as MET32-J. Ensure that constructors do not call overridable methods.

References

Wiki Markup
\[[Dewhurst 03|AA. C++ References#Dewhurst 04]\]  Gotcha 75: Calling Virtual Functions in Constructors and Destructors
\[[Sutter 04|AA. C++ References#Sutter 04]\] Item 49:  Avoid calling virtual functions in constructors and destructors.

...