==== bugfix ====

- fix for #5955
- fixing too short pathnames causing memory overwriting when
  starting blender from a path with a very long name.
This commit is contained in:
2007-02-09 18:27:20 +00:00
parent a6cbfb617f
commit c7c0e7bf80
2 changed files with 5 additions and 5 deletions

View File

@@ -823,8 +823,8 @@ static int bpymenu_ParseDir(char *dirname, char *parentdir, int is_userdir )
struct dirent *de;
struct stat status;
char *file_extension;
char path[FILE_MAXDIR];
char subdir[FILE_MAXDIR];
char path[FILE_MAX];
char subdir[FILE_MAX];
char *s = NULL;
dir = opendir(dirname);