fix for buffer overrun with BLI_split_dirfile(...), was simple to do since many place...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 15 Oct 2011 03:56:05 +0000 (03:56 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 15 Oct 2011 03:56:05 +0000 (03:56 +0000)
commit317b649bb241726d8be1a700cd0028f28914595d
tree8fc5953f8da6481ad72e55d247b144ac72eb2638
parentf9c41eaaf80fdddb24d5b95cadb51ac859c2d301
fix for buffer overrun with BLI_split_dirfile(...), was simple to do since many places don't check for filename lengyj of 79 chars which is the limit for the file selector.
Add max dir and file length args.
15 files changed:
source/blender/blenkernel/intern/pointcache.c
source/blender/blenkernel/intern/sequencer.c
source/blender/blenlib/BLI_path_util.h
source/blender/blenlib/intern/bpath.c
source/blender/blenlib/intern/path_util.c
source/blender/blenlib/intern/winstuff.c
source/blender/blenloader/intern/writefile.c
source/blender/collada/DocumentImporter.cpp
source/blender/collada/ImageExporter.cpp
source/blender/editors/space_file/file_ops.c
source/blender/editors/space_file/filesel.c
source/blender/editors/space_sequencer/sequencer_add.c
source/blender/editors/space_sequencer/space_sequencer.c
source/blender/makesrna/intern/rna_sequencer.c
source/gameengine/Ketsji/KX_PythonInit.cpp