[Issue 12513] New: std.file: dirEntries-range crashes, when hitting the system folder "System Volume Information"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 3 05:56:26 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12513
Summary: std.file: dirEntries-range crashes, when hitting the
system folder "System Volume Information"
Product: D
Version: D2
Platform: All
OS/Version: Windows
Status: NEW
Severity: major
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: christof at schardt.info
--- Comment #0 from Christof Schardt <christof at schardt.info> 2014-04-03 05:56:21 PDT ---
ca. line +-2590 in std.file.d
bool stepIn(string directory)
{
string search_pattern = buildPath(directory, "*.*");
WIN32_FIND_DATAW findinfo;
--> HANDLE h = FindFirstFileW(toUTF16z(search_pattern), &findinfo);
--> cenforce(h != INVALID_HANDLE_VALUE, directory);
........
}
The cenforce() throws, when the folder "System Volume Information" is handled.
But this folder results in an INVALID HANDLE VALUE.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list