-
Notifications
You must be signed in to change notification settings - Fork 202
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
Possible NULL ptr deference in CFE_ES_StartAppTask #2491
Comments
This is a false positive. I think it was "detected" by tools in the past, hence the comment here: cFE/modules/es/fsw/src/cfe_es_apps.c Lines 600 to 605 in 7f5ebcd
Basically - the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Static code analysis finding from the Klocwork tool. Line numbers based on the draco-rc4 tag. On line 606 in the cfe_es_apps.c file, the function CFE_ES_LocateTaskRecordByID could return a value of NULL. This will then set TaskRecPtr to NULL. Then on line 607 TaskRecPtr will be dereferenced.
To Reproduce
Run Klocwork SCA analysis
Reporter Info
Beth Geist/NASA GSFC
The text was updated successfully, but these errors were encountered: