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

malloc failure is not handled #2011

Open
mshingote opened this issue Jul 25, 2023 · 2 comments
Open

malloc failure is not handled #2011

mshingote opened this issue Jul 25, 2023 · 2 comments

Comments

@mshingote
Copy link

Ref code: https://github.com/OpenSCAP/openscap/blob/maint-1.3/src/OVAL/probes/independent/textfilecontent_probe.c#L164

@ricardobranco777
Copy link

There are dozens of calls to malloc that are not checked that it's scary in a "security scanner" tool.

@evgenyz
Copy link
Contributor

evgenyz commented Mar 27, 2024

Patches are welcome.

Keep in mind, though, that textfilecontent test is deprecated and has been replaced with textfilecontent54 like a decade ago.

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

No branches or pull requests

3 participants