malloc more space for temp file name
Noticed by: marcel
This commit is contained in:
parent
dcca9856c6
commit
af98c2e2cf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55781
@ -304,7 +304,7 @@ create_file_names()
|
||||
if (tmpdir == 0) tmpdir = "/tmp";
|
||||
|
||||
len = strlen(tmpdir);
|
||||
i = len + 13;
|
||||
i = len + 17;
|
||||
if (len && tmpdir[len-1] != '/')
|
||||
++i;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user