Skip to content

fix: bound IPC event size#5

Merged
brannn merged 1 commit into
mainfrom
fix/bound-ipc-event-size
May 21, 2026
Merged

fix: bound IPC event size#5
brannn merged 1 commit into
mainfrom
fix/bound-ipc-event-size

Conversation

@brannn
Copy link
Copy Markdown
Contributor

@brannn brannn commented May 21, 2026

Summary

  • cap newline-delimited IPC event payloads at 1 MiB
  • reject oversized event lines before JSON decoding or handler dispatch
  • add a regression test for oversized socket input

Test Plan

  • go test ./internal/ipc -count=1
  • go test ./...
  • git diff --check

@brannn brannn merged commit 7e7b4ba into main May 21, 2026
1 check passed
@brannn brannn deleted the fix/bound-ipc-event-size branch May 21, 2026 06:59
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.

2 participants