assimp/test/models/invalid
Adam Mizerski 4b9f46dbda
ColladaParser: check values length (#5462)
* ColladaParser: check values length

fixes: #4286

* Refactor calculation of size for data

---------

Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-15 13:07:00 +01:00
..
OutOfMemory.off header paths adjusted for unit tests and samples 2018-01-05 23:12:40 -08:00
box_nested_animation_4286.dae ColladaParser: check values length (#5462) 2024-02-15 13:07:00 +01:00
crash-30d6d0f7c529b3b66b4131700b7a4580cd7082df.ply Add as unit-test an invalid PLY model triggering heap-buffer-overflow 2023-11-20 08:43:17 +01:00
empty.3ds
empty.ase
empty.lwo
empty.md5mesh General 2009-03-05 22:32:13 +00:00
empty.obj
empty.off
empty.ply
empty.raw
empty.smd
empty.x
emptyIrrMesh.xml header paths adjusted for unit tests and samples 2018-01-05 23:12:40 -08:00
malformed.obj header paths adjusted for unit tests and samples 2018-01-05 23:12:40 -08:00
malformed2.obj header paths adjusted for unit tests and samples 2018-01-05 23:12:40 -08:00
readme.txt ColladaParser: check values length (#5462) 2024-02-15 13:07:00 +01:00

readme.txt

*********************************************************
GENERAL
*********************************************************


The files in this directory are invalid ... some of them are empty,
others have invalid vertices or faces, others are prepared to make
 assimp allocate a few hundreds gigs of memory ... most are
actually regression tests, i.e. there was once a bugfix that
fixed the respective loaders.

This test case is successful if the library (and the viewer) don't
crash.


*********************************************************
FILES
*********************************************************

box_nested_animation_4286.dae - This was reported as GH#4286.
  The "count" parameter in "Cube-mesh-positions-array" is too small.

OutOfMemory.off - the number of faces is invalid. There won't be
  enough memory so std::vector::reserve() will most likely fail.
  The exception should be caught in Importer.cpp.

empty.<x> - These files are completely empty. The corresponding
   loaders should not crash.

malformed.obj - out-of-range vertex indices
malformed2.obj - non-existent material referenced