/[Apache-SVN]
ViewVC logotype

Revision 1855950


Jump to revision: Previous Next
Author: wrowe
Date: Wed Mar 20 23:06:02 2019 UTC (5 years, 1 month ago)
Changed paths: 5
Log Message:
Narrow symbolic link detection on NTFS

Read the WIN32_FIND_DATA::dwReserved0 field to determine whether reparse point 
is a "name surrogate". 
 
It's probably more safe to bind to specifig tags. If provided structure 
(wininfo) was not resulted from FindFile* call, then additional FindFirstFile 
call is performed. However this may be unnecessary, because the alternate
GetFileInformation call is used in the case of an open file handle, and
APR_FINFO_LINK has no meaning when it comes to open files.


Submitted by: Oleg Liatte <olegliatte gmail.com>
PR: 47630
Backports: r1855949


Changed paths

Path Details
Directoryapr/apr/branches/1.7.x/ modified , props changed
Directoryapr/apr/branches/1.7.x/CHANGES modified , text changed
Directoryapr/apr/branches/1.7.x/file_io/win32/dir.c modified , text changed
Directoryapr/apr/branches/1.7.x/file_io/win32/filestat.c modified , text changed
Directoryapr/apr/branches/1.7.x/include/arch/win32/apr_arch_file_io.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26