sculpt operator was setting default array value from stack variables that were then...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 1 Feb 2009 14:24:44 +0000 (14:24 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 1 Feb 2009 14:24:44 +0000 (14:24 +0000)
commit494575fabf83372cce0ae7e87dc4656d8fa82dee
tree793efdff6b7736688fc6b36bd2c483ecf21ea74f
parentdafc620a7514ff55dfd99cdea176447edef88e9e
sculpt operator was setting default array value from stack variables that were then freed, making sculpt defaults use invalid memory.
Since these values defaulted to zero, a NULL default array will do, but for new operators that need to be initialized from an array, only static arrays should be used.
source/blender/editors/sculpt/sculpt.c
source/blender/makesrna/intern/rna_define.c