XCCDF/OVAL/CPE/DS: fix NULL-pointer dereferences on malformed input #2361
SonarQubeCloud / SonarCloud Code Analysis
succeeded
Jun 8, 2026 in 1m 29s
Quality Gate passed
Annotations
Check failure on line 147 in src/XCCDF/value.c
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
See more on https://sonarcloud.io/project/issues?id=OpenSCAP_openscap&issues=AZ6RuvuWdapTw3k_-loD&open=AZ6RuvuWdapTw3k_-loD&pullRequest=2361
Check failure on line 438 in src/DS/sds_index.c
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
See more on https://sonarcloud.io/project/issues?id=OpenSCAP_openscap&issues=AZ6Mye1t2Ak3xlgmpnXA&open=AZ6Mye1t2Ak3xlgmpnXA&pullRequest=2361
Check failure on line 159 in src/XCCDF/value.c
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
See more on https://sonarcloud.io/project/issues?id=OpenSCAP_openscap&issues=AZ6RuvuWdapTw3k_-loE&open=AZ6RuvuWdapTw3k_-loE&pullRequest=2361
Loading