Old IDProperty bug, (from original commit r8916),
authorCampbell Barton <ideasman42@gmail.com>
Tue, 8 Mar 2011 03:14:59 +0000 (03:14 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 8 Mar 2011 03:14:59 +0000 (03:14 +0000)
commit97edca3bc9441eb5c99ed56e7d67b083931215b0
tree4e4ec64ab9ca2e7a20fe0822c570404533f1516d
parentb9db9e147efe08bee72451f386c3d8917998afdf
Old IDProperty bug, (from original commit r8916),
found crash while changing operator string size.

Shrinking arrays never worked right.
rather then "newlen * sizeof(...)", it would memcpy "newlen * oldlen * sizeof(...)" which always goes over the array bounds.
source/blender/blenkernel/intern/idprop.c