Skip to content

Sanitize strings to prevent UTF errors

5f204c0
Select commit
Loading
Failed to load commit list.
Open

Sanitize strings to prevent UTF errors #2357

Sanitize strings to prevent UTF errors
5f204c0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 18, 2026 in 28s

Annotations

Check failure on line 100 in src/common/oscap_utf8.c

See this annotation in the file changed.

@sonarqubecloud 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=AZ4nDmfMJ3_HwpX-0Cx_&open=AZ4nDmfMJ3_HwpX-0Cx_&pullRequest=2357

Check failure on line 33 in src/common/oscap_utf8.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 28 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=OpenSCAP_openscap&issues=AZ4nDmfMJ3_HwpX-0Cx-&open=AZ4nDmfMJ3_HwpX-0Cx-&pullRequest=2357

Check failure on line 114 in src/common/oscap_utf8.c

See this annotation in the file changed.

@sonarqubecloud 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=AZ4nDmfMJ3_HwpX-0CyA&open=AZ4nDmfMJ3_HwpX-0CyA&pullRequest=2357