faf59777f3650a2f314972d0679d7f01fc408743
This commit improves DNA parsing resilience to data corruption in two ways: * Detect and abort on failure to allocate requested amount of memory. * Detect multiple usages of the same `type_index` by different struct definitions. The second part fixes the `dna_genfile.cc:1918:40.blend` case reported in #137870. Ported from blender/blender@456a07c5e6 (Pull Request: https://projects.blender.org/blender/blender/pulls/139803) Pull Request: https://projects.blender.org/blender/blender/pulls/140299
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
11%
C
6.3%
GLSL
2.2%
CMake
1.3%
Other
1.1%
