Skip to content

Join eager VOLE before OPRF receiver abort - #19

Merged
ladnir merged 1 commit into
mainfrom
codex/fix-oprf-abort
Nov 18, 2026
Merged

ladnir merged 1 commit into
mainfrom
codex/fix-oprf-abort

Conversation

@ladnir

@ladnir ladnir commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Fixes #17.

The receiver starts VOLE eagerly, then hashes and solves its OKVS before awaiting VOLE. A local solve error could destroy the suspended VOLE task while its socket receive was still pending. On current main, the sender validates the seed before launching VOLE, so the receiver is the remaining affected path.

On a local error, close the channel to cancel operations on its fork, await the VOLE task, then rethrow the original exception. Normal execution still overlaps VOLE and OKVS work.

Validation:

  • Reproduced the receiver failure on current main as Windows access violation 0xC0000005.
  • Local Windows Release build and full unit suite: 69/69 passed.
  • Receiver local-abort and malformed-peer tests: 1,000 trials each passed.

@ladnir
ladnir merged commit 8544e34 into main Nov 18, 2026
3 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.

RsOprf: eager VOLE task destroyed while suspended on the socket when send/receive throws (SIGSEGV)

1 participant