import-examples/12-15-import-formats/Ip009.ply
Sources
- Pattern-mined from assimp/assimp#5729 + OSS-Fuzz 6544205135544320 (`LoadVertex` heap-overflow WRITE) (BSD-3-Clause — pattern only, no bytes copied).
Description
The PLY header declares three vertex properties (`x y z`), but the first vertex body row streams four scalars: `0.0 0.0 0.0 7.0`. A `LoadVertex` that writes one slot per whitespace-delimited token (rather than per declared property) writes a fourth value past the vertex's field storage — the heap-overflow-write variant of the assimp defect. Distinct from Ip002, where the header *count* (not the per-row field count) was the lie.
Reproducer recipe
an ASCII PLY whose vertex row contains more scalar fields than the header declares properties for that element.
Expected kernel behavior
bind each row's parse to the declared property count; ignore or reject extra fields, never write past the per-vertex storage.
Notes
Cross-oracle: trimesh 4.12 TOLERATES it (parses per declared property, ignores the extra field → clean 3v/1f); assimp writes past the vertex buffer (#5729) — a differential-tolerance signal, verified 2026-07-12. Complements Ip002 (header count > rows) with the per-row-field-overflow variant. Synonyms: "PLY extra property field", "row has more scalars than properties", "LoadVertex field overflow", "PLY vertex row overrun". Provenance tier: bytes-only.
Expected validation
Provenance tier
bytes-only — defect not fully embodied in fixture bytes.
Byte assertions
contains(b'0.0 0.0 0.0 7.0')
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ply 2format ascii 1.0 3comment Ip009 assimp#5729 vertex row supplies more scalar fields than declared properties 4element vertex 3 5property float x 6property float y 7property float z 8element face 1 9property list uchar int vertex_indices 10end_header 110.0 0.0 0.0 7.0 121.0 0.0 0.0 130.0 1.0 0.0 143 0 1 2