Skip to content

Bug fix

6e4c760
Select commit
Loading
Failed to load commit list.
Draft

[WIP] Anisotropic mesh adaptation part 1: feature-based metric tensor #2613

Bug fix
6e4c760
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Nov 5, 2025 in 3s

7 new alerts including 6 high severity security vulnerabilities

New alerts in code changed by this pull request

Security Alerts:

  • 6 high

Other Alerts:

  • 1 note

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 1506 in SU2_CFD/src/solvers/CSolver.cpp

See this annotation in the file changed.

Code scanning / CodeQL

Comparison of narrow type with wide type in loop condition High

Comparison between
iVar
of type unsigned short and
nVarGrad
of wider type int.

Check failure on line 1524 in SU2_CFD/src/solvers/CSolver.cpp

See this annotation in the file changed.

Code scanning / CodeQL

Comparison of narrow type with wide type in loop condition High

Comparison between
iVar
of type unsigned short and
nVarHess
of wider type int.

Check failure on line 1526 in SU2_CFD/src/solvers/CSolver.cpp

See this annotation in the file changed.

Code scanning / CodeQL

Multiplication result converted to larger type High

Multiplication result may overflow 'int' before it is converted to 'unsigned long'.

Check failure on line 1654 in SU2_CFD/src/solvers/CSolver.cpp

See this annotation in the file changed.

Code scanning / CodeQL

Comparison of narrow type with wide type in loop condition High

Comparison between
iVar
of type unsigned short and
nVarGrad
of wider type int.

Check failure on line 1679 in SU2_CFD/src/solvers/CSolver.cpp

See this annotation in the file changed.

Code scanning / CodeQL

Comparison of narrow type with wide type in loop condition High

Comparison between
iVar
of type unsigned short and
nVarHess
of wider type int.

Check failure on line 1681 in SU2_CFD/src/solvers/CSolver.cpp

See this annotation in the file changed.

Code scanning / CodeQL

Multiplication result converted to larger type High

Multiplication result may overflow 'int' before it is converted to 'unsigned long'.

Check notice on line 8021 in Common/src/CConfig.cpp

See this annotation in the file changed.

Code scanning / CodeQL

No trivial switch statements Note

This switch statement should either handle more cases, or be rewritten as an if statement.