Blender Git Commit Log

Git Commits -> Revision 66aa4af

Revision 66aa4af by Bastien Montagne (master)
January 27, 2016, 17:04 (GMT)
Fix T47252: FileBrowser: buffer overflow with scripts defining too long 'filter_glob' string.

Fixed this with three changes:
* filter_glob is now 255 char max (63 could be a bit limited in some rare cases).
* IO templates now explicitely define max len of that property (such that scripters are aware of the limit).
* ED_fileselect_set_params() is now safe regarding too long strings from a 'filter_glob' op property.

Commit Details:

Full Hash: 66aa4af83611de2c59d9e8ab4ded1b48bec4a635
Parent Commit: 4e2eea6
Lines Changed: +11, -3

5 Modified Paths:

/release/scripts/templates_py/operator_file_export.py (+1, -0) (Diff)
/release/scripts/templates_py/operator_file_import.py (+1, -0) (Diff)
/source/blender/editors/space_file/filelist.c (+1, -1) (Diff)
/source/blender/editors/space_file/filesel.c (+7, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021