Files
buzz/crates
Dawn 977674c2d0 test(buzz-media): assert header-page granule in the Ogg contract oracle
The oracle blessed output that leaked the RFC 3533 6.2 "no packet completes
on this page" sentinel (0xFF..FF) onto the Vorbis comment page. Decoders
ignore granule on header pages, so such a file decodes, reports exact
duration, and compares PCM-identical while being wire-invalid — and the
relay validator correctly rejects it.

Assert granule 0 on any of the first three pages that completes a packet.
Pages that complete nothing (a spanning setup continuation) legitimately
carry the sentinel and are exempt.

Verified both directions: fails on the leaking output, passes on the
corrected output and on the reference strippers.

Co-authored-by: Dawn <c6237ef84fa537c78dcee78efd2d4e59f728859c7f194da42ac51ededfa0be05@buzz.block.builderlab.xyz>
Signed-off-by: Dawn <c6237ef84fa537c78dcee78efd2d4e59f728859c7f194da42ac51ededfa0be05@buzz.block.builderlab.xyz>
2026-08-14 12:21:26 -04:00
..