Bug 7682: NtQueryDirectoryFile fails when querying certain symbolic links

Stefan Dösinger stefandoesinger at gmx.at
Sun Apr 29 04:55:59 CDT 2007


Am Sonntag 29 April 2007 01:05 schrieb Vitaliy Margolen:
> Cudos to Lei and everyone else who found the real problem.
>
> It appears that Wine's implementation of the NtQueryDirectoryFile and
> all other functions that ending up calling it have a major problem. They
> will fail if called on symlinks into directories outside $WINEPREFIX
> which contain $WINEPREFIX itself (aka loop scenarios). Ex:
>
> So should we go back to the drawing board and and rethink our approach
> to the desktop integration? Also what can we do, if user configures such
> a loops him/her self?
Hide the wine prefix dir from the application? This won't fix some natural 
loops in normal unix directory structures, like my distro has /usr/X11R6 set 
up as a symlink to /usr. The problem is not limited to Desktop integration, 
although in this case it is made by wine itself.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070429/4a7485b2/attachment.pgp


More information about the wine-devel mailing list