Skip to content

fix(parser): reject invalid packet types - #13

Open
taigrr wants to merge 1 commit into
masterfrom
cd/round3-20260811-maintenance
Open

fix(parser): reject invalid packet types#13
taigrr wants to merge 1 commit into
masterfrom
cd/round3-20260811-maintenance

Conversation

@taigrr

@taigrr taigrr commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Reject decoded Socket.IO packet frames whose type byte is outside the protocol range (0 through 6).
  • Add parser regression coverage for non-digit and out-of-range packet type bytes.

Verification

  • go generate ./...
  • go test -race ./...
  • go vet ./...
  • staticcheck ./...

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