Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and updateCodeQL suppression #2245

Merged
merged 1 commit into from
Aug 27, 2024
Merged

Conversation

helsaawy
Copy link
Contributor

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.

@helsaawy helsaawy requested a review from a team as a code owner August 23, 2024 19:44
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`.

Signed-off-by: Hamza El-Saawy <[email protected]>
@helsaawy helsaawy merged commit 59e8375 into microsoft:main Aug 27, 2024
18 of 19 checks passed
@helsaawy helsaawy deleted the codeql-comment branch August 27, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants