Skip to content

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

Merged
taigrr merged 1 commit into
masterfrom
cd/round3-20260811-maintenance
Aug 22, 2026
Merged

fix(parser): reject invalid packet types#13
taigrr merged 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 ./...

@taigrr
taigrr merged commit e0593ce into master Aug 22, 2026
1 check passed
@taigrr
taigrr deleted the cd/round3-20260811-maintenance branch August 22, 2026 23:07
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