Skip to content

Commit ed2b315

Browse files
wjlafranceclaude
andcommitted
Fix ReceiveBuffer race condition with dedicated lock object
ProcessReceive() locked on ReceiveBuffer (a byte[]) then reassigned it inside the lock. Subsequent calls locked on a different object, breaking mutual exclusion entirely. Replace with a dedicated readonly _receiveLock object used consistently for all buffer access. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6a34c2a commit ed2b315

1 file changed

Lines changed: 182 additions & 169 deletions

File tree

0 commit comments

Comments
 (0)