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

Resource Leak #311

Open
ArielSAdamsNASA opened this issue Oct 6, 2021 · 2 comments
Open

Resource Leak #311

ArielSAdamsNASA opened this issue Oct 6, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ArielSAdamsNASA
Copy link

Describe the bug
Handle variable FileDescriptor going out of scope leaks the handle.

Expected behavior
Free FileDescriptor or point to mmap

Code snips

FileDescriptor = open(EEPROM_FILE, O_RDWR);

System observed on:
Coverity: https://scan.coverity.com/projects/arielsadamsnasa-cfs-jsf-rules?tab=overview

Reporter Info
Ariel Adams, ASRC Federal

@dzbaker
Copy link
Contributor

dzbaker commented Feb 23, 2023

CCB 23 February 2023: Discussed and came to conclusion that the file descriptor remaining open is okay.

@thnkslprpt
Copy link
Contributor

CCB 23 February 2023: Discussed and came to conclusion that the file descriptor remaining open is okay.

No worries.
Closed the PR and I guess this issue can be closed as well now.

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

Successfully merging a pull request may close this issue.

4 participants