Applied the new astyle to master #1180
221 new alerts including 4 critical severity security vulnerabilities
New alerts in code changed by this pull request
Security Alerts:
- 4 critical
- 29 high
Other Alerts:
- 6 errors
- 22 warnings
- 160 notes
Alerts not introduced by this pull request might have been detected because the code changes were too large.
See annotations below for details.
Annotations
Check notice on line 1094 in src/bias/MetaD.cpp
Code scanning / CodeQL
Equality test on floating-point values Note
Check notice on line 683 in src/cltools/Driver.cpp
Code scanning / CodeQL
Declaration hides variable Note
).
Check notice on line 241 in src/cltools/GenJson.cpp
Code scanning / CodeQL
For loop variable changed in body Note
.
Check notice on line 344 in src/cltools/ShowGraph.cpp
Code scanning / CodeQL
Unused local variable Note
Check notice on line 271 in src/cltools/pesmd.cpp
Code scanning / CodeQL
Declaration hides variable Note
).
Check notice on line 281 in src/cltools/pesmd.cpp
Code scanning / CodeQL
Declaration hides variable Note
).
Check notice on line 293 in src/cltools/pesmd.cpp
Code scanning / CodeQL
Declaration hides variable Note
).
Check notice on line 320 in src/cltools/pesmd.cpp
Code scanning / CodeQL
Declaration hides variable Note
).
Check notice on line 332 in src/cltools/pesmd.cpp
Code scanning / CodeQL
Declaration hides variable Note
).
Check notice on line 136 in src/colvar/MultiRMSD.cpp
Code scanning / CodeQL
Declaration hides variable Note
).
Check notice on line 146 in src/colvar/MultiRMSD.cpp
Code scanning / CodeQL
Declaration hides variable Note
).
Check notice on line 183 in src/core/ActionWithMatrix.cpp
Code scanning / CodeQL
Unused local variable Note
Check failure on line 214 in src/core/ActionWithVector.cpp
Code scanning / CodeQL
Inconsistent nullness check Error
Check failure on line 231 in src/core/ActionWithVector.cpp
Code scanning / CodeQL
Inconsistent nullness check Error
Check warning on line 436 in src/core/ActionWithVector.cpp
Code scanning / CodeQL
Local variable address stored in non-local memory Warning
may be assigned to a non-local variable.
Check notice on line 594 in src/core/ActionWithVector.cpp
Code scanning / CodeQL
Declaration hides variable Note
).
Check notice on line 80 in src/core/ActionWithVirtualAtom.cpp
Code scanning / CodeQL
Commented-out code Note
Check failure on line 274 in src/core/CLToolMain.cpp
Code scanning / CodeQL
Uncontrolled data used in OS command Critical
, dangerously concatenated into , and then passed to system(__command).
Check failure on line 274 in src/core/CLToolMain.cpp
Code scanning / CodeQL
Uncontrolled process operation High
and is being passed to system.
Check notice on line 165 in src/core/FlexibleBin.cpp
Code scanning / CodeQL
Long switch case Note
.
Check notice on line 133 in src/core/FlexibleBin.cpp
Code scanning / CodeQL
Commented-out code Note
Check notice on line 197 in src/core/FlexibleBin.cpp
Code scanning / CodeQL
Commented-out code Note
Check warning on line 74 in src/core/PlumedMain.cpp
Code scanning / CodeQL
Poorly documented large function Warning
Check notice on line 1204 in src/core/PlumedMain.cpp
Code scanning / CodeQL
Declaration hides variable Note
).
Check failure on line 1497 in src/core/PlumedMain.cpp
Code scanning / CodeQL
Uncontrolled data used in OS command Critical
, dangerously concatenated into , and then passed to system(__command).