assimp/test/models
Alexandre Avenel bfe8745b90 Add as unit-test an invalid PLY model triggering heap-buffer-overflow
==23896==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x12f9daec1827 at pc 0x7ffcad83699c bp 0x00c61574c910 sp 0x00c61574c910
READ of size 1 at 0x12f9daec1827 thread T0
==23896==WARNING: Failed to use and restart external symbolizer!
    #0 0x7ffcad83699b in Assimp::IOStreamBuffer<char>::getNextLine C:\Users\aavenel\Dev\assimp\include\assimp\IOStreamBuffer.h:299
    #1 0x7ffcad83ce69 in Assimp::PLY::DOM::ParseHeader C:\Users\aavenel\Dev\assimp\code\AssetLib\Ply\PlyParser.cpp:428
    #2 0x7ffcad83d58e in Assimp::PLY::DOM::ParseInstanceBinary C:\Users\aavenel\Dev\assimp\code\AssetLib\Ply\PlyParser.cpp:498
    #3 0x7ffcad83302a in Assimp::PLYImporter::InternReadFile C:\Users\aavenel\Dev\assimp\code\AssetLib\Ply\PlyLoader.cpp:189
    #4 0x7ffcad4f2f48 in Assimp::BaseImporter::ReadFile C:\Users\aavenel\Dev\assimp\code\Common\BaseImporter.cpp:135
    #5 0x7ffcad51ee46 in Assimp::Importer::ReadFile C:\Users\aavenel\Dev\assimp\code\Common\Importer.cpp:709
    #6 0x7ff7dd8f9f1a in ImportModel C:\Users\aavenel\Dev\assimp\tools\assimp_cmd\Main.cpp:307
    #7 0x7ff7dd8fdf9e in Assimp_Info C:\Users\aavenel\Dev\assimp\tools\assimp_cmd\Info.cpp:344
    #8 0x7ff7dd8fc04f in main C:\Users\aavenel\Dev\assimp\tools\assimp_cmd\Main.cpp:222
    #9 0x7ff7dd9030eb in __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
    #10 0x7ffd39e57343 in BaseThreadInitThunk+0x13 (C:\WINDOWS\System32\KERNEL32.DLL+0x180017343)
    #11 0x7ffd3a2626b0 in RtlUserThreadStart+0x20 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x1800526b0)
2023-11-20 08:43:17 +01:00
..
3D header paths adjusted for unit tests and samples 2018-01-05 23:12:40 -08:00
3DS fix test/models/3DS/IMAGE1.bmp: is jpg 2021-12-18 14:32:46 +03:00
3MF 3MF: add a simple box example from the 3MF-sample repo. 2016-09-10 09:27:29 +02:00
AC Replace relative paths with local assets/textures 2023-03-31 22:17:50 -07:00
AMF Add missing file. 2018-09-21 16:09:24 +02:00
ASE removed trailing spaces and tabs from source and text 2021-07-29 13:28:51 +02:00
B3D Move test models with problematic license restrictions to test/models-nonbsd and update the test suites accordingly. 2010-10-13 17:57:06 +00:00
BLEND Add a separate test case for Blender 276 and update Box.blend to be 293 2021-11-26 22:09:06 -04:00
BVH Make file formatting comply with POSIX and Unix standards 2020-03-21 02:34:12 -04:00
COB Provide dwarf textures for COB model 2023-03-18 22:44:20 -07:00
CSM Make file formatting comply with POSIX and Unix standards 2020-03-21 02:34:12 -04:00
Collada Create licence.md 2023-07-03 08:26:50 +02:00
DXF Issue 2229: add a unittest. 2018-11-21 21:39:16 +01:00
FBX Add testmodel 2022-05-13 19:44:14 +02:00
HMP Move test models with problematic license restrictions to test/models-nonbsd and update the test suites accordingly. 2010-10-13 17:57:06 +00:00
IFC add ifc sample file to assimp. 2013-10-12 20:10:38 +02:00
IQM add Inter-Quake Model (IQM) Importer 2021-12-18 15:34:58 +03:00
IRR Introduce alternate versions with animations disabled to allow sucessful load 2023-07-14 20:19:28 -07:00
IRRMesh Replace relative paths with local assets/textures 2023-03-31 22:17:50 -07:00
JT Initial parsing for header and more. 2019-05-24 17:22:54 +02:00
LWO Make file formatting comply with POSIX and Unix standards 2020-03-21 02:34:12 -04:00
LWS header paths adjusted for unit tests and samples 2018-01-05 23:12:40 -08:00
M3D Asked modifications and unit test 2019-11-01 17:21:24 +01:00
MD2 removed trailing spaces and tabs from source and text 2021-07-29 13:28:51 +02:00
MD5 Make file formatting comply with POSIX and Unix standards 2020-03-21 02:34:12 -04:00
MDC MDC: introduce model to test MDC-format. 2018-09-02 10:38:21 +02:00
MDL Added a test to validate HL1 MDL bone hierarchy. 2023-03-13 19:06:18 -04:00
MS3D Make file formatting comply with POSIX and Unix standards 2020-03-21 02:34:12 -04:00
NFF/NFF Replace relative paths with local assets/textures 2023-03-31 22:17:50 -07:00
OBJ Support OBJ specified only a part of vertex colors 2023-06-17 16:31:04 +09:00
OFF header paths adjusted for unit tests and samples 2018-01-05 23:12:40 -08:00
Ogre/TheThing Revert image files corrupted by a8a1ca9 2020-01-27 19:58:05 +09:00
OpenGEX Add missing files. 2018-07-11 11:09:53 +02:00
PLY Revert to commit 13 May 2014 (08bacc7) 2023-03-17 22:42:17 -07:00
ParsingFiles Add missing test-files. 2018-09-17 18:48:14 +02:00
Q3D removed trailing spaces and tabs from source and text 2021-07-29 13:28:51 +02:00
RAW header paths adjusted for unit tests and samples 2018-01-05 23:12:40 -08:00
ReferenceImages Revert image files corrupted by a8a1ca9 2020-01-27 19:58:05 +09:00
SIB Revert image files corrupted by a8a1ca9 2020-01-27 19:58:05 +09:00
SMD header paths adjusted for unit tests and samples 2018-01-05 23:12:40 -08:00
STL Revert broken STL test model to working version 2020-01-20 14:41:25 +02:00
SourceFiles Cleaned up Assimp-test repository of sample 3d models. 2008-12-30 12:32:45 +00:00
TER fix possible warnings 2020-03-30 20:33:43 +02:00
WRL Merge branch 'master' into x3d_pugi_migration 2021-09-07 15:04:08 +02:00
X removed trailing spaces and tabs from source and text 2021-07-29 13:28:51 +02:00
X3D Fixes 2021-11-10 20:37:27 +01:00
XGL Revert broken XGL test model to working version 2020-01-20 14:33:18 +02:00
glTF Revert image files corrupted by a8a1ca9 2020-01-27 19:58:05 +09:00
glTF2 Extension of data export to GLB/GLTF format 2023-10-08 14:43:53 +00:00
invalid Add as unit-test an invalid PLY model triggering heap-buffer-overflow 2023-11-20 08:43:17 +01:00