assimp/code/Common
Alex Rebert 34d8fba100
Fix stack overflow in ZipArchiveIOSystem::MapArchive
The function allocates a filename buffer of 256, and copies the filename
extracted from the zip file into it. However, a filename might be larger
than 256 characters, in which case the function would write out of bounds.

This commit skips any file whose name is larger than 256 to avoid the
overflow.

Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38870
Fix #4228
2022-01-05 10:01:46 -05:00
..
AssertHandler.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
AssertHandler.h Allow assert handling to be replaced. 2020-06-23 11:55:51 +01:00
Assimp.cpp Merge branch 'master' into x3d_pugi_migration 2021-09-07 15:04:08 +02:00
BaseImporter.cpp Optimize the check 2021-12-22 20:43:44 +01:00
BaseProcess.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BaseProcess.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Bitmap.cpp Rework format + introdule missing C++11 features 2021-09-08 23:19:10 +02:00
CreateAnimMesh.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
DefaultIOStream.cpp removed useless code 2021-09-11 21:51:20 +02:00
DefaultIOSystem.cpp Merge branch 'master' into x3d_pugi_migration 2021-09-07 15:04:08 +02:00
DefaultLogger.cpp Merge branch 'master' into patch-1 2021-05-27 08:35:29 +02:00
DefaultProgressHandler.h Add console progresshandler 2021-12-26 11:16:02 +01:00
Exceptional.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Exporter.cpp Merge branch 'master' into x3d_pugi_migration 2021-09-07 15:04:08 +02:00
FileLogStream.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
FileSystemFilter.h Fix out-of-bounds read in FileSystemFilter::Cleanup 2021-10-29 09:17:40 -04:00
IFF.h Fix references in cmake file. 2019-06-09 18:43:56 +02:00
Importer.cpp Add console progresshandler 2021-12-26 11:16:02 +01:00
Importer.h Allow schema checking of glTF2 file. 2021-10-07 10:01:32 +01:00
ImporterRegistry.cpp Merge branch 'master' into x3d_pugi_migration_artenuvielle 2021-10-14 09:27:07 +02:00
PolyTools.h Update PolyTools.h 2021-12-07 21:19:01 +01:00
PostStepRegistry.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
RemoveComments.cpp Fix formatting 2021-11-12 09:56:45 +01:00
SGSpatialSort.cpp Fix spelling mistake 2021-10-08 08:48:01 +02:00
SceneCombiner.cpp Bug: Export crashes when any of the meshes contains texture coordinate names #4243 2021-12-07 20:42:43 +01:00
ScenePreprocessor.cpp Merge branch 'master' into x3d_pugi_migration 2021-09-07 15:04:08 +02:00
ScenePreprocessor.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
ScenePrivate.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
SkeletonMeshBuilder.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
SpatialSort.cpp CalculateDistance method 2021-10-21 08:39:44 +01:00
StandardShapes.cpp Next iteration for c++11 features. 2021-09-13 22:38:20 +02:00
StdOStreamLogStream.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Subdivision.cpp No need to distinguish formatting log functions. 2021-05-13 10:25:27 +01:00
TargetAnimation.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
TargetAnimation.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Version.cpp updated version string (if anyone cares) 2021-04-19 07:37:12 +02:00
VertexTriangleAdjacency.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
VertexTriangleAdjacency.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Win32DebugLogStream.h Merge branch 'master' into x3d_pugi_migration 2021-09-07 15:04:08 +02:00
ZipArchiveIOSystem.cpp Fix stack overflow in ZipArchiveIOSystem::MapArchive 2022-01-05 10:01:46 -05:00
assbin_chunks.h Renamed WriteDumb.cpp to WriteDump.cpp 2020-01-30 16:40:34 -05:00
material.cpp Merge branch 'master' into x3d_pugi_migration 2021-09-07 15:04:08 +02:00
scene.cpp Fix build and merged master. 2021-05-06 21:36:25 +02:00
simd.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
simd.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00