Skip to content

Commit cb80e26

Browse files
Lins-01lavv17
authored andcommitted
fill verify_fn for quickly second segmentation violation
1 parent 40c20c5 commit cb80e26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/GetFileInfo.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,10 @@ int GetFileInfo::Do()
398398
* also serves as a last attempt to see if the file exists--we
399399
* only get here if everything else thinks the path doesn't exist.
400400
*/
401+
402+
if(!verify_fn)
403+
MakeVerifyFileName();
404+
401405
FileInfo *fi=new FileInfo(verify_fn);
402406
fi->need=need;
403407
/* We need to do at least one. */

0 commit comments

Comments
 (0)