OpenSCAP / openscap

NIST Certified SCAP 1.2 toolkit
https://www.open-scap.org/tools/openscap-base
GNU Lesser General Public License v2.1
1.35k stars 370 forks source link

please add cppcheck github action #1926

Open eslerm opened 1 year ago

eslerm commented 1 year ago

When I scanned the Ubuntu package openscap-1.3.7+dfsg-1 I found many cppcheck errors. Some of the results are easy to solve memory leaks and others appear to be copy paste errors. They need their own triage and possibly assigned issues or CVEs. Here is the output of my local cppcheck scan: https://gist.github.com/eslerm/6dd060abb1a227972d8190a74f5cc684

I would like to propose adding a cppcheck GitHub action to track these and new results.

eslerm commented 1 year ago

Please see https://github.com/OpenSCAP/openscap/pull/1927