diff --git a/lib/vfs/interface.c b/lib/vfs/interface.c index 9916bd3ef..590b1ce3a 100644 --- a/lib/vfs/interface.c +++ b/lib/vfs/interface.c @@ -832,7 +832,7 @@ mc_mkstemps (vfs_path_t ** pname_vpath, const char *prefix, const char *suffix) const char * mc_tmpdir (void) { - static char buffer[64]; + static char buffer[PATH_MAX]; static const char *tmpdir = NULL; const char *sys_tmp; struct passwd *pwd;