View Issue Details

IDProjectCategoryView StatusLast Update
0001037Far ManagerSymLink/HardLinkpublic2009-09-09 04:14
Reportertheultramage Assigned Tochupakabra  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version2.0 
Fixed in Version2.0 
Summary0001037: infinite loop with relative path folder symlinks
DescriptionUnder certain circumstances, trying to copy a file from inside a symlinked path will result in an infinite loop in ConvertNameToReal(), where strTmpDest will keep expanding forever.

Requires having a ".." in the relative path and more than 1 level of directory nesting (see sample script below).
Additional Informationrem Batch script to reproduce bug (on my machine :)

rem 1.
mkdir test

rem 2.
mkdir test\a1
mkdir test\a1\a2
mkdir test\a1\a2\a3
echo bug > test\a1\a2\a3\file.txt

rem 3.
mkdir test\b1
mklink /D test\b1\b2 ..\a1\a2

rem 4.
rem [now go to test\b1\b2\a3 and try to F5 the file to c:\]

rem 5.
rem [for comparison, try]
rem copy test\b1\b2\a3\file.txt c:\
TagsNo tags attached.
Build1112

Activities

theultramage

2009-09-06 13:25

reporter  

theultramage

2009-09-06 13:27

reporter   bugnote:0004026

Since this bugtracker's html generation code totally failed at preserving newlines, use the attachment.

chupakabra

2009-09-07 16:44

developer   bugnote:0004030

1108

theultramage

2009-09-08 01:14

reporter   bugnote:0004033

Thank you for the research and the fix :)

Issue History

Date Modified Username Field Change
2009-09-06 13:24 theultramage New Issue
2009-09-06 13:25 theultramage File Added: far-infinite-symlink-bug.bat
2009-09-06 13:27 theultramage Note Added: 0004026
2009-09-06 18:01 chupakabra Status new => assigned
2009-09-06 18:01 chupakabra Assigned To => chupakabra
2009-09-07 16:44 chupakabra Note Added: 0004030
2009-09-07 16:44 chupakabra Status assigned => feedback
2009-09-08 01:14 theultramage Note Added: 0004033
2009-09-08 01:14 theultramage Status feedback => resolved
2009-09-08 01:14 theultramage Resolution open => fixed
2009-09-09 04:14 chupakabra Build => 1112
2009-09-09 04:14 chupakabra Status resolved => closed
2009-09-09 04:14 chupakabra Fixed in Version => 2.0