Ip050 — Draco encoder-method/body mismatch → silent-empty decode

§12.15 import-format parser robustness (sub-class: draco-codec)

P1 — silent data loss

silent-loss

Sources

Description

The `encoder_method` byte is set to a VALID value (0, sequential) that does not match the actual Edgebreaker-encoded body. Unlike Ip048 (an out-of-range method), this passes the enum check, so the decoder applies the wrong-but-legal codec to the body. The danger class here is a silently-wrong result rather than an error: the decoder must cross-check the method against what the body actually contains.

Reproducer recipe

Encode the tetra base mesh (method = 1, Edgebreaker); set file offset 8 to `0x00` (sequential — a valid method, wrong for this body). All other bytes untouched.

Expected kernel behavior

Detect that the declared method cannot consistently decode the body and reject with a diagnostic; never emit a geometry-losing empty result without an error.

Notes

DracoPy 2.0.0 result observed: decode SUCCEEDS with NO exception and returns a `DracoPointCloud` carrying no points (`points` is empty) and no faces — the entire mesh is silently discarded. This is the one fixture in the set whose malformation is NOT rejected: it decodes to an empty result with no diagnostic. Synonyms: "method/body mismatch", "silent-empty decode", "connectivity silently dropped". Provenance tier: bytes-only.

Expected validation

Provenance tier

bytes-only — defect not fully embodied in fixture bytes.

Byte assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1DRACOßÿ"ÿ	(2³
ÂBÿ?€?