microsoft / hcsshim

Windows - Host Compute Service Shim
MIT License
576 stars 259 forks source link

Add and updateCodeQL suppression #2245

Closed helsaawy closed 2 months ago

helsaawy commented 2 months ago

Microsoft CodeQL analyzer's suppression format is slightly different than GitHub's, and expects the suppression comment to be one line. Update suppression comments in pkg\ociwclayer\import.go to conform.

Suppress warnings for "uncontrolled process operation" in init\init.c and vsockexec\vsockexec.c. Suppress "incorrect conversion between integer types" in internal\jobobject\limits.go, and add fix to internal\guest\runtime\hcsv2\uvm.go.