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 There are API usage errors with fgetc.
Expected behavior Check EOF then cast value.
Code snips
elf2cfetbl/elf2cfetbl.c
Line 1746 in 10f55fb
Line 1927 in 10f55fb
Line 2464 in 10f55fb
Line 2617 in 10f55fb
System observed on: Coverity: https://scan.coverity.com/projects/arielsadamsnasa-cfs-jsf-rules?tab=overview
Additional context Assigning the return value of fgetc to char AByte truncates its value.
Assigning the return value of fgetc to char VerboseStr[i] truncates its value.
Reporter Info Ariel Adams, ASRC Federal
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
There are API usage errors with fgetc.
Expected behavior
Check EOF then cast value.
Code snips
elf2cfetbl/elf2cfetbl.c
Line 1746 in 10f55fb
elf2cfetbl/elf2cfetbl.c
Line 1927 in 10f55fb
elf2cfetbl/elf2cfetbl.c
Line 2464 in 10f55fb
elf2cfetbl/elf2cfetbl.c
Line 2617 in 10f55fb
System observed on:
Coverity: https://scan.coverity.com/projects/arielsadamsnasa-cfs-jsf-rules?tab=overview
Additional context
Assigning the return value of fgetc to char AByte truncates its value.
Assigning the return value of fgetc to char VerboseStr[i] truncates its value.
Reporter Info
Ariel Adams, ASRC Federal
The text was updated successfully, but these errors were encountered: