[Bug 17758] New: GetFileAttributesExW accepts unix paths
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Mar 15 19:30:31 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=17758
Summary: GetFileAttributesExW accepts unix paths
Product: Wine
Version: 1.1.17
Platform: Other
URL: http://www.python.org/ftp/python/3.0.1/python-3.0.1.msi
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: kernel32
AssignedTo: wine-bugs at winehq.org
ReportedBy: madewokherd at gmail.com
GetFileAttributesExW("/bin/sh") succeeds if /bin is mapped. Some of python's
tests use this check to decide whether it's running on a Unix system. It then
tries to start a subprocess using /bin/sh and read its output; this does not
work because Wine processes cannot read the output of non-Wine processes.
In python's case, this is harmless and only results in a few test failures.
Files should not be accessible to Windows programs by their Unix paths. We
wouldn't want them to think /bin/sh is actually useful.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list