Skip to content

Fix uint32 overflows in mux and fwmark - #343

Merged
qiuyuzhou merged 1 commit into
masterfrom
fix/security-issues-1-and-2
Oct 21, 2026
Merged

qiuyuzhou merged 1 commit into
masterfrom
fix/security-issues-1-and-2

Conversation

@qiuyuzhou

Copy link
Copy Markdown
Collaborator

Summary

  • Use unsigned flags for mux and fwmark, including plugin environment overrides.
  • Reject values above the uint32 range before narrowing conversions.

Validation

  • gofmt and git diff --check pass.
  • go test ./... was not run; the review environment denied writes to Go's module cache.

Use unsigned flags and reject out-of-range mux/fwmark values before converting them to uint32.
@qiuyuzhou
qiuyuzhou merged commit c4ba608 into master Oct 21, 2026
8 checks passed
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.

1 participant