View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001037 | Far Manager | SymLink/HardLink | public | 2009-09-06 13:24 | 2009-09-09 04:14 |
Reporter | theultramage | Assigned To | chupakabra | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.0 | ||||
Fixed in Version | 2.0 | ||||
Summary | 0001037: infinite loop with relative path folder symlinks | ||||
Description | Under 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 Information | rem 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:\ | ||||
Tags | No tags attached. | ||||
Build | 1112 | ||||
|
|
|
Since this bugtracker's html generation code totally failed at preserving newlines, use the attachment. |
|
1108 |
|
Thank you for the research and the fix :) |
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 |