Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix various static analysis bugs #2340
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
Fix various static analysis bugs #2340
Changes from all commits
40421c94bd80eb06cb90fFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check warning on line 78 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "remed" is "struct cvrf_remediation *".
Check warning on line 82 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "remed" is "struct cvrf_remediation *".
Check warning on line 85 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "remed" is "struct cvrf_remediation *".
Check warning on line 141 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "score_set" is "struct cvrf_score_set *".
Check warning on line 152 in src/CVRF/cvrf_priv.c
Make the type of this variable a pointer-to-const. The current type of "metric" is "struct cvss_metrics *".
Check warning on line 226 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "threat" is "struct cvrf_threat *".
Check warning on line 229 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "threat" is "struct cvrf_threat *".
Check warning on line 232 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "threat" is "struct cvrf_threat *".
Check warning on line 283 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "stat" is "struct cvrf_product_status *".
Check warning on line 323 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "involve" is "struct cvrf_involvement *".
Check warning on line 600 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "group" is "struct cvrf_group *".
Check warning on line 646 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "relation" is "struct cvrf_relationship *".
Check warning on line 698 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "branch" is "struct cvrf_branch *".
Check warning on line 821 in src/CVRF/cvrf_priv.c
Make the type of this variable a pointer-to-const. The current type of "relation" is "struct cvrf_relationship *".
Check warning on line 1011 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "tracking" is "struct cvrf_doc_tracking *".
Check warning on line 1014 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "tracking" is "struct cvrf_doc_tracking *".
Check warning on line 1078 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "publisher" is "struct cvrf_doc_publisher *".
Check warning on line 1126 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "reference" is "struct cvrf_reference *".
Check warning on line 1255 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "model" is "struct cvrf_model *".
Check warning on line 1256 in src/CVRF/cvrf_priv.c
Make the type of this variable a pointer-to-const. The current type of "tracking" is "struct cvrf_doc_tracking *".
Check failure on line 1445 in src/CVRF/cvrf_priv.c
cast from 'const unsigned char *' to 'char *' drops const qualifier
Check failure on line 1450 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 1487 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 1512 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 1567 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 1567 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 1576 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 1597 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 1598 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 1626 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 1640 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 1811 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 1819 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 1855 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check warning on line 1883 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "full_name" is "struct cvrf_product_name *".
Check failure on line 2002 in src/CVRF/cvrf_priv.c
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 2083 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "ref" is "struct cvrf_reference *".
Check failure on line 2102 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check warning on line 2111 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "note" is "struct cvrf_note *".
Check failure on line 2172 in src/CVRF/cvrf_priv.c
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check failure on line 2184 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 2186 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 2217 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check warning on line 2241 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "publisher" is "struct cvrf_doc_publisher *".
Check failure on line 2262 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check warning on line 2315 in src/CVRF/cvrf_priv.c
Remove the unused parameter "user_args", make it unnamed, or declare it "[[maybe_unused]]".
Check failure on line 2316 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check failure on line 2323 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Check warning on line 2349 in src/CVRF/cvrf_priv.c
Make the type of this parameter a pointer-to-const. The current type of "index" is "struct cvrf_index *".
Check failure on line 2350 in src/CVRF/cvrf_priv.c
cast from 'const char *' to 'unsigned char *' drops const qualifier
Uh oh!
There was an error while loading. Please reload this page.