[Bug 44685] New: GetVolumePathNameW Path Bug

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 7 23:05:30 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=44685

            Bug ID: 44685
           Summary: GetVolumePathNameW Path Bug
           Product: Wine
           Version: 3.3
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: kernel32
          Assignee: wine-bugs at winehq.org
          Reporter: markau0 at lycos.com
      Distribution: ---

volumenameW contains a path with unix / characters but the GetVolumePathNameW
loop routine uses a strrchrW function looking for backslash's in volumenameW
and the returned volumename is then incorrect.

changing 

c = strrchrW( volumenameW, '\\' );

to

c = strrchrW( volumenameW, '/' );

results in correct volumename being returned.

Affects any windows app using GetVolumePathNameW and is mentioned in bug
reports

https://bugs.winehq.org/show_bug.cgi?id=42446

https://bugs.winehq.org/show_bug.cgi?id=43240

-- 
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