assimp/code/AssetLib/M3D
Alex Rebert 30f17aa206
Fix heap out-of-bounds write in _m3d_safestr
While there is a 256 character limit when computing the length of the
newly allocated strength, that limit was missing when copying the
string. This commit adds a new length check in the copy loop, preventing
it from writhing out of bounds.

Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34416
2021-10-28 21:32:38 -04:00
..
M3DExporter.cpp Fix spelling mistake 2021-10-08 08:48:01 +02:00
M3DExporter.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
M3DImporter.cpp Fix spelling mistake 2021-10-08 08:48:01 +02:00
M3DImporter.h Next iteration for c++11 features. 2021-09-13 22:38:20 +02:00
M3DMaterials.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
M3DWrapper.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
M3DWrapper.h removed trailing spaces and tabs from source and text 2021-07-29 13:28:51 +02:00
m3d.h Fix heap out-of-bounds write in _m3d_safestr 2021-10-28 21:32:38 -04:00