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 tempFd is passed to a parameter that cannot be negative.
Function open(".reservedkeyfile", 64, 448) returns a negative number.
Expected behavior Add an if statement to ensure that tempFd is not a negative number.
Code snips
PSP/fsw/pc-linux/src/cfe_psp_memory.c
Line 664 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:
No branches or pull requests
Describe the bug
tempFd is passed to a parameter that cannot be negative.
Function open(".reservedkeyfile", 64, 448) returns a negative number.
Expected behavior
Add an if statement to ensure that tempFd is not a negative number.
Code snips
PSP/fsw/pc-linux/src/cfe_psp_memory.c
Line 664 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: