-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
| close(tempFd); |
System observed on:
Coverity: https://scan.coverity.com/projects/arielsadamsnasa-cfs-jsf-rules?tab=overview
Reporter Info
Ariel Adams, ASRC Federal
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working