Fixes for snprintf usage:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 30 Aug 2011 10:07:50 +0000 (10:07 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 30 Aug 2011 10:07:50 +0000 (10:07 +0000)
commitb3704f45c4e165618e898b5b7d1a7391ad14dc50
treeede24044252d222084cc59cef98e28ebfe8494c3
parent27ec8d5043f544685001aab3552b9b4b56bc1e1a
Fixes for snprintf usage:
* replace by BLI_snprintf in various places, note _snprintf on windows
  does not properly null terminate the string.
* fix overflow in sequencer proxy code due to buffer being smaller than
  specified size.
* fix some usage of snprintf as strcpy, this is will go wrong if the
  string contains % characters.
* remove BLI_dynstr_printf function in gpu module, use BLI_dynstr_appendf
13 files changed:
source/blender/blenkernel/intern/particle_system.c
source/blender/blenkernel/intern/pointcache.c
source/blender/blenkernel/intern/report.c
source/blender/blenkernel/intern/sequencer.c
source/blender/blenkernel/intern/unit.c
source/blender/blenkernel/intern/writeffmpeg.c
source/blender/blenlib/intern/storage.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/physics/physics_fluid.c
source/blender/editors/space_console/space_console.c
source/blender/editors/space_nla/nla_draw.c
source/blender/gpu/intern/gpu_codegen.c
source/blender/python/intern/bpy_rna.c