Skip to content

quic: add mfail test for multi-packet RXE#31331

Draft
bukka wants to merge 1 commit into
openssl:masterfrom
bukka:quic-record-qrx-multipkt-mfail-test
Draft

quic: add mfail test for multi-packet RXE#31331
bukka wants to merge 1 commit into
openssl:masterfrom
bukka:quic-record-qrx-multipkt-mfail-test

Conversation

@bukka
Copy link
Copy Markdown
Member

@bukka bukka commented May 29, 2026

Add a record layer test that executes qrx_process_pkt() under mfail on a freshly created qrx whose rx_free freelist is empty. This deterministically lands the qrx_ensure_free_rxe() call for the first packet of a multi-packet datagram among the enumerated injection points which is the precondition for triggering assert failure in qrx_validate_hdr_early(). The test reuses rx_script_5's coalesced Initial+Handshake+1-RTT datagram and only provides the Initial secret, since the bug fires before any decryption is attempted.

This is a test for #31316

Add a record layer test that executes qrx_process_pkt() under mfail
on a freshly created qrx whose rx_free freelist is empty. This
deterministically lands the qrx_ensure_free_rxe() call for the first
packet of a multi-packet datagram among the enumerated injection points
which is the precondition for triggering assert failure in
qrx_validate_hdr_early(). The test reuses rx_script_5's coalesced
Initial+Handshake+1-RTT datagram and only provides the Initial secret,
since the bug fires before any decryption is attempted.
@bukka bukka self-assigned this May 29, 2026
@bukka bukka moved this to In Progress in Development Board May 29, 2026
@bukka bukka added tests: present The PR has suitable tests present triaged: feature The issue/pr requests/adds a feature branch: master Applies to master branch labels May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch: master Applies to master branch tests: present The PR has suitable tests present triaged: feature The issue/pr requests/adds a feature

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant