WineHQ
Bug Tracking Database – Bug 33020

 Bugzilla

 

Last modified: 2014-01-17 13:58:32 UTC  

GetLongPathName does not properly resolve the relative string '.'

Bug 33020 - GetLongPathName does not properly resolve the relative string '.'
GetLongPathName does not properly resolve the relative string '.'
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: kernel32
1.5.24
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-02-19 10:16 UTC by Erich E. Hoover
Modified: 2014-01-17 13:58 UTC (History)
0 users

See Also:
Regression SHA1:
Fixed by SHA1: eba2f4322169715b3672651a5427b718b6eafa8f
Distribution: ---
Staged patchset:


Attachments
kernel32: Fix a relative path bug with GetLongPathName. (2.04 KB, patch)
2013-02-19 10:17 UTC, Erich E. Hoover
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erich E. Hoover 2013-02-19 10:16:16 UTC
Calling GetLongPathName on a string containing the self-referencing string '.' returns a bogus path, for example:
GetLongPathName('shortpath\.')
returns
shortpath\shortpath
instead of
shortpath\.

This poses a problem for Silverlight, which uses this feature (for some odd reason) to find the path for debugging DLLs.
Comment 1 Erich E. Hoover 2013-02-19 10:17:08 UTC
Created attachment 43640 [details]
kernel32: Fix a relative path bug with GetLongPathName.

Fix GetLongPathName not resolving the self-referencial '.' string.
Comment 2 Erich E. Hoover 2014-01-13 19:45:18 UTC
This bug was fixed a while ago by commit eba2f4322169715b3672651a5427b718b6eafa8f.
Comment 3 Alexandre Julliard 2014-01-17 13:58:32 UTC
Closing bugs fixed in 1.7.11.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers