Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class OVALContainer(OVALBaseObject) does not invoke parent's init function #11391

Closed
evgenyz opened this issue Dec 17, 2023 · 0 comments · Fixed by #11400
Closed

Class OVALContainer(OVALBaseObject) does not invoke parent's init function #11391

evgenyz opened this issue Dec 17, 2023 · 0 comments · Fixed by #11400
Assignees

Comments

@evgenyz
Copy link
Member

evgenyz commented Dec 17, 2023

Description of problem:

The init function of the class OVALContainer(OVALBaseObject) does not invoke parent's init function. This is a big red flag that could mean a lot of things, but, in general is an indicator that the inheritance link is superficial: the child class either does not use any of parent's functions or these functions are static functions disguised as methods. It could also be that it is a typo, and there is a time-bomb destined to set off at the most inconvenient time possible.

SCAP Security Guide Version:

master

Expected Results:

Class either call for parent's init or does not inherit form it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants