Some strings to store ID names were too small, could cause stack corruption.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 19 Apr 2011 06:59:49 +0000 (06:59 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 19 Apr 2011 06:59:49 +0000 (06:59 +0000)
commit5b920bc2ff1e78767842b13f6997298b7e438204
tree762e490545d634d6f1d3c394f26e392b82a4aa6d
parent6a91cf9adb750810d942104cf6ce5fef5a7bf999
Some strings to store ID names were too small, could cause stack corruption.
corrected these and replaced 'sizeof(((ID *)NULL)->name)-2' with 'MAX_ID_NAME-2'.
13 files changed:
source/blender/blenkernel/intern/library.c
source/blender/editors/interface/interface.c
source/blender/editors/interface/interface_utils.c
source/blender/editors/object/object_relations.c
source/blender/editors/render/render_internal.c
source/blender/editors/screen/screen_edit.c
source/blender/editors/sound/sound_ops.c
source/blender/editors/space_image/image_ops.c
source/blender/editors/space_node/drawnode.c
source/blender/editors/space_outliner/outliner.c
source/blender/makesrna/intern/rna_ID.c
source/blender/makesrna/intern/rna_curve.c
source/blender/python/generic/bpy_internal_import.c