Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-05-18 12:09:48 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-05-18 12:50:34 +0300
commitb1492b76bafd490ff6c9c9c6efdede9a756a16be (patch)
treed60a38747102e6dc0dae742613d1231d4763e7f5 /source/blender/windowmanager
parent9796cb166162b69170e1b842834d020e154ec8d9 (diff)
Alembic: Fix bad allocation with invalid knots data
It is not impossible that the number of knots is stored wrong in the file (for example, it will be 1 knot only). This change fixes bad memory allocation and bad memory access in such cases. It also fixes strict compiler warning which was mentioning that the allocation size is wrong), There isn't really the correct way of dealing with such situation, so simply fall back to Blender's knots calculation. Differential Revision: https://developer.blender.org/D7765
Diffstat (limited to 'source/blender/windowmanager')
0 files changed, 0 insertions, 0 deletions