Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #296 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Overlapping array copy in FilePath line 558

Reported by: keinfarbton Assigned to: kris
Priority: major Milestone: 0.96 Beta 2
Component: Tango Version:
Keywords: Cc:

Description

In tango.io.FilePath?:

@@ -555,7 +555,7 @@
                 else
                    memmove (fp.ptr+tail+len, fp.ptr+tail, end_+1 - tail);

-                fp [head .. tail+len] = sub;
+                memmove( fp.ptr + head, sub.ptr, tail+len-head );
                 end_ += len;
                 return len;
         }

Change History

02/25/07 14:28:20 changed by kris

  • status changed from new to assigned.

Thanks Frank. How did you get this to trip? I mean, how did you wind up with overlapping path content?

02/25/07 19:29:22 changed by keinfarbton

I used the FileSystem? makeAbsolute() function with a FilePath?.

02/25/07 23:24:27 changed by kris

  • status changed from assigned to closed.
  • resolution set to fixed.