Blender Git Commit Log
Git Commits -> Revision 867fc4b
Revision 867fc4b by Campbell Barton (master) February 13, 2011, 03:21 (GMT) |
enforce string limits (reported by pedantic checking tools & some developers). mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf(). also fix possible crash if CWD isnt available. |
Commit Details:
Full Hash: 867fc4b463ef39ea16103f18f332c3d259624d29
SVN Revision: 34810
Parent Commit: 9e03a0d
Lines Changed: +201, -239
49 Modified Paths:
/source/blender/blenfont/intern/blf_dir.c (+6, -10) (Diff)
/source/blender/blenfont/intern/blf_lang.c (+7, -13) (Diff)
/source/blender/blenkernel/BKE_armature.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/armature.c (+8, -9) (Diff)
/source/blender/blenkernel/intern/blender.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/boids.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/constraint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/deform.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/exotic.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/font.c (+6, -5) (Diff)
/source/blender/blenkernel/intern/idprop.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+4, -4) (Diff)
/source/blender/blenlib/BLI_path_util.h (+3, -3) (Diff)
/source/blender/blenlib/intern/bpath.c (+1, -1) (Diff)
/source/blender/blenlib/intern/path_util.c (+48, -44) (Diff)
/source/blender/blenlib/intern/storage.c (+1, -1) (Diff)
/source/blender/blenloader/BLO_writefile.h (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+8, -18) (Diff)
/source/blender/collada/DocumentImporter.cpp (+1, -1) (Diff)
/source/blender/editors/armature/editarmature.c (+0, -2) (Diff)
/source/blender/editors/interface/interface.c (+5, -11) (Diff)
/source/blender/editors/interface/interface_draw.c (+2, -3) (Diff)
/source/blender/editors/interface/interface_handlers.c (+10, -14) (Diff)
/source/blender/editors/interface/resources.c (+2, -4) (Diff)
/source/blender/editors/mesh/editmesh_loop.c (+2, -3) (Diff)
/source/blender/editors/physics/physics_fluid.c (+16, -23) (Diff)
/source/blender/editors/space_file/filesel.c (+1, -1) (Diff)
/source/blender/editors/space_file/file_ops.c (+6, -6) (Diff)
/source/blender/editors/space_sequencer/sequencer_add.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+1, -2) (Diff)
/source/blender/makesdna/DNA_armature_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_collision.c (+6, -3) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_fluidsim_util.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_screw.c (+5, -5) (Diff)
/source/blender/modifiers/intern/MOD_shapekey.c (+3, -2) (Diff)
/source/blender/modifiers/intern/MOD_shrinkwrap.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_simpledeform.c (+2, -1) (Diff)
/source/blender/modifiers/intern/MOD_surface.c (+1, -1) (Diff)
/source/blender/python/generic/IDProp.c (+1, -1) (Diff)
/source/blender/render/intern/source/pipeline.c (+3, -3) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+4, -7) (Diff)
/source/creator/creator.c (+5, -5) (Diff)
/source/blender/blenfont/intern/blf_lang.c (+7, -13) (Diff)
/source/blender/blenkernel/BKE_armature.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/armature.c (+8, -9) (Diff)
/source/blender/blenkernel/intern/blender.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/boids.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/constraint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/deform.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/exotic.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/font.c (+6, -5) (Diff)
/source/blender/blenkernel/intern/idprop.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+4, -4) (Diff)
/source/blender/blenlib/BLI_path_util.h (+3, -3) (Diff)
/source/blender/blenlib/intern/bpath.c (+1, -1) (Diff)
/source/blender/blenlib/intern/path_util.c (+48, -44) (Diff)
/source/blender/blenlib/intern/storage.c (+1, -1) (Diff)
/source/blender/blenloader/BLO_writefile.h (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+8, -18) (Diff)
/source/blender/collada/DocumentImporter.cpp (+1, -1) (Diff)
/source/blender/editors/armature/editarmature.c (+0, -2) (Diff)
/source/blender/editors/interface/interface.c (+5, -11) (Diff)
/source/blender/editors/interface/interface_draw.c (+2, -3) (Diff)
/source/blender/editors/interface/interface_handlers.c (+10, -14) (Diff)
/source/blender/editors/interface/resources.c (+2, -4) (Diff)
/source/blender/editors/mesh/editmesh_loop.c (+2, -3) (Diff)
/source/blender/editors/physics/physics_fluid.c (+16, -23) (Diff)
/source/blender/editors/space_file/filesel.c (+1, -1) (Diff)
/source/blender/editors/space_file/file_ops.c (+6, -6) (Diff)
/source/blender/editors/space_sequencer/sequencer_add.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+1, -2) (Diff)
/source/blender/makesdna/DNA_armature_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_collision.c (+6, -3) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_fluidsim_util.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_screw.c (+5, -5) (Diff)
/source/blender/modifiers/intern/MOD_shapekey.c (+3, -2) (Diff)
/source/blender/modifiers/intern/MOD_shrinkwrap.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_simpledeform.c (+2, -1) (Diff)
/source/blender/modifiers/intern/MOD_surface.c (+1, -1) (Diff)
/source/blender/python/generic/IDProp.c (+1, -1) (Diff)
/source/blender/render/intern/source/pipeline.c (+3, -3) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+4, -7) (Diff)
/source/creator/creator.c (+5, -5) (Diff)