assimp/code
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
..
AssetLib Merge branch 'master' into pbr-obj 2021-12-31 08:33:30 +01:00
CApi removed useless code 2021-09-11 21:51:20 +02:00
Common Fix stack overflow in ZipArchiveIOSystem::MapArchive 2022-01-05 10:01:46 -05:00
Material Merge branch 'master' into x3d_pugi_migration 2021-09-07 15:04:08 +02:00
Pbrt Fix spelling error in comment in exported Pbrt file 2021-10-08 08:55:02 +02:00
PostProcessing Throw a DeadlyImportError rather than an assertion if all materials are redundant and thus removed 2021-12-07 12:35:15 +01:00
res Updated copyright dates. 2020-01-20 08:53:12 -05:00
.editorconfig Implemented: Add editor config for source code 2015-06-28 15:50:57 -06:00
CMakeLists.txt CMake: Replace CMAKE_COMPILER_IS_MINGW by MINGW 2021-12-28 15:58:37 +01:00