Blender Git Loki

Git Commits -> Revision 2d3f96c

Revision 2d3f96c by Germano Cavalcante (master)
January 8, 2021, 14:22 (GMT)
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.

Commit Details:

Full Hash: 2d3f96cace6d63dbf15544dbe8a9a4fa912f6d6d
Parent Commit: c549d73
Lines Changed: +23, -29

1 Modified Path:

/source/blender/editors/transform/transform_convert_curve.c (+23, -29) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021