summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2019-03-20 23:03:02 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2019-03-20 23:03:02 +0000
commita05bc5213c1ac82e85c0167d158548436bd5a6c9 (patch)
treead6bfe9bd54283f12cc01a2addb570006a88cee6 /build
parent06e0fdce4625ff5d56e0f7123a5d84d898059ddd (diff)
downloadapr-a05bc5213c1ac82e85c0167d158548436bd5a6c9.tar.gz
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> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1855949 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions