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

fix overflow integer conversion lint warning from gosec #399

Merged
merged 4 commits into from
Aug 25, 2024

use binary shift to compute power of 2

9af9f3e
Select commit
Loading
Failed to load commit list.
Merged

fix overflow integer conversion lint warning from gosec #399

use binary shift to compute power of 2
9af9f3e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Aug 25, 2024 in 1s

70.37% of diff hit (target 70.00%)

View this Pull Request on Codecov

70.37% of diff hit (target 70.00%)

Annotations

Check warning on line 76 in priority/ioprio_linux.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

priority/ioprio_linux.go#L74-L76

Added lines #L74 - L76 were not covered by tests

Check warning on line 61 in term/term.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

term/term.go#L61

Added line #L61 was not covered by tests

Check warning on line 85 in term/term.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

term/term.go#L85

Added line #L85 was not covered by tests

Check warning on line 91 in term/term.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

term/term.go#L91

Added line #L91 was not covered by tests

Check warning on line 101 in term/term.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

term/term.go#L100-L101

Added lines #L100 - L101 were not covered by tests