blender/tests/files/io_tests/ply/reference
Brecht Van Lommel 3a572c5745 I/O: Harden geometry import for invalid data
* Use int64_t to avoid overflows, following our C++ guidelines.
* Add various index range checks for code that runs before mesh
  validation.
* Match some loop iteration variables to the size type.
* Ensure number of elements fit into int where needed.
* OBJ vertex weight import issue with || true (debug leftover?).
* USD invalid shape key size check (> instead of >=).
* USD now preserves vertex positions for some invalid topology,
  this the reason for usd_mesh_custom.txt test update.
* Note FBX import has fewer checks because ufbx already handles most.

Some of these are defensive, some prevent actual crashes. Tests were
added for various crashes.

These checks are meant to run in combination with mesh validation. We
try to prevent out of bounds access before validation but leave invalid
topology detection to the validation code.

Pull Request: https://projects.blender.org/blender/blender/pulls/158307
2026-05-13 14:24:11 +02:00
..
ASCII_wireframe_cube.txt
bin_data_starts_with_lf.txt
bin_data_starts_with_lf_header_crlf.txt
bunny2.txt
color_not_full_a.txt
color_not_full_b.txt
cube_ascii.txt
custom_data_elements.txt
double_xyz_a.txt
double_xyz_b.txt
face_indices_not_first_prop_a.txt
face_indices_not_first_prop_b.txt
face_indices_preceded_by_list_a.txt
face_indices_preceded_by_list_b.txt
face_uvs_colors_a.txt
face_uvs_colors_b.txt
faces_first_a.txt
faces_first_b.txt
float_formats_a.txt
float_formats_b.txt
malformed_face_indices.txt I/O: Harden geometry import for invalid data 2026-05-13 14:24:11 +02:00
malformed_tristrips.txt I/O: Harden geometry import for invalid data 2026-05-13 14:24:11 +02:00
many_small_holes.txt
position_not_full_a.txt
position_not_full_b.txt
tristrips_a.txt
tristrips_b.txt
type_aliases_a.txt
type_aliases_b.txt
type_aliases_be_b.txt
vertex_comp_order_a.txt
vertex_comp_order_b.txt
wireframe_cube.txt