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

Fix code scanning alert - Potential input resource leak #216

Open
1 task
jordanpadams opened this issue Nov 14, 2024 · 1 comment
Open
1 task

Fix code scanning alert - Potential input resource leak #216

jordanpadams opened this issue Nov 14, 2024 · 1 comment
Labels
bug Something isn't working icebox s.medium

Comments

@jordanpadams
Copy link
Member

Tracking issue for:

@jordanpadams jordanpadams added bug Something isn't working s.medium icebox labels Nov 14, 2024
@al-niessner
Copy link
Contributor

@jordanpadams

False positive. Either it is always left open or never. Basically the file stream is layered by other streams then the SAX library reads it. Given the SAXSource class/object does not offer close(), going to say it reads the file in completeness correctly closing the input stream every time making this alert a false positive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working icebox s.medium
Projects
None yet
Development

No branches or pull requests

2 participants