Blender Git Loki
Git Commits -> Revision 7aa39b4
Revision 7aa39b4 by Martijn Versteegh (master) November 11, 2021, 15:25 (GMT) |
Fix: Prevent use of uninitialized memory when creating Bezier spline When Constructing bezier splines from dna, the positions of the left/right handles were set directly in the internal vectors, by requesting a reference to them. The problem is that BezierSpline::handle_positions_left() calls ensure_auto_handles() before returning the reference. That function does some calculations on uninitialized memory if the positions array is not yet filled. Differential Revision: https://developer.blender.org/D13107 |
Commit Details:
Full Hash: 7aa39b40f40c2b037f97e009eabf8d4698c41ee4
Parent Commit: d26d3cf
Committed By: Hans Goudey
Lines Changed: +25, -8