Blender Git Commit Log
Git Commits -> Revision bacfc9e
Revision bacfc9e by Campbell Barton (master) October 21, 2007, 09:32 (GMT) |
fix for crash's in file selector. - on unix BLI_diskfree was only using 100 chars for the dir name, and not checking if the name given was longer, increased to FILE_MAXDIR (160) and added a check, return -1 if its too long. The file selector only allowed 80 chars to be typed into the directory entry. Made the file selector check that the path is less then FILE_MIXDIR, if you try and enter a path thats longer it will tell you that the path is too long, before it was writing into other memory and crashing. |
Commit Details:
Full Hash: bacfc9eb91f10871a2ba9c3b35e48c3895dffac3
SVN Revision: 12318
Parent Commit: 3a04520
Lines Changed: +33, -16