We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Handle variable FileDescriptor going out of scope leaks the handle.
Expected behavior Free FileDescriptor or point to mmap
Code snips
PSP/fsw/modules/eeprom_mmap_file/cfe_psp_eeprom_mmap_file.c
Line 102 in 1bd7bd9
System observed on: Coverity: https://scan.coverity.com/projects/arielsadamsnasa-cfs-jsf-rules?tab=overview
Reporter Info Ariel Adams, ASRC Federal
The text was updated successfully, but these errors were encountered:
Fix nasa#311, Free (close) FileDescriptor resource to avoid leak
b954028
CCB 23 February 2023: Discussed and came to conclusion that the file descriptor remaining open is okay.
Sorry, something went wrong.
No worries. Closed the PR and I guess this issue can be closed as well now.
jphickey
Successfully merging a pull request may close this issue.
Describe the bug
Handle variable FileDescriptor going out of scope leaks the handle.
Expected behavior
Free FileDescriptor or point to mmap
Code snips
PSP/fsw/modules/eeprom_mmap_file/cfe_psp_eeprom_mmap_file.c
Line 102 in 1bd7bd9
System observed on:
Coverity: https://scan.coverity.com/projects/arielsadamsnasa-cfs-jsf-rules?tab=overview
Reporter Info
Ariel Adams, ASRC Federal
The text was updated successfully, but these errors were encountered: