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:
authorGermano Cavalcante <germano.costa@ig.com.br>2021-01-07 19:32:58 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-01-08 17:22:58 +0300
commit2d3f96cace6d63dbf15544dbe8a9a4fa912f6d6d (patch)
tree1bf93bc7f2c7f452009d93f40717a768776df62d /source/blender/editors/scene/scene_edit.c
parentc549d736cff0d5013f05fb5240ef07671c5aa5ce (diff)
Fix T84453: Crash bezier curves transfrom
The pointer allocated to the `TransData` was being incorrectly incremented, causing misalignment and consequently `heap-buffer-overflow`. Because of this, `TD_NOTCONNECTED` was being set in a strange way that did not correspond to other types of `TransData`. The solution is to not increment the `TransData` pointer and set `TD_NOTCONNECTED` only for "unconnected" segments. The code was also a bit deduplicated.
Diffstat (limited to 'source/blender/editors/scene/scene_edit.c')
0 files changed, 0 insertions, 0 deletions