Code Change Request

# 28460

Back to Code Changes

Christopher
Software Development
StableBit DrivePool
2.3.0.1195 BETA
Windows 10 (64 bit)
Public
Alex

* [D] [Issue #28460] Fill in the FILE_ATTRIBUTE_REPARSE_POINT attribute when STATUS_BUFFER_OVERFLOW is returned.
Public
Alex

Cannot reproduce. Tested with a symbolic link.

FileNetworkOpenInformation, FileBasicInformation, FileAllInformation, FileAttributeTagInformation all add FILE_ATTRIBUTE_REPARSE_POINT to FileAttributes.

Tested: https://i.imgur.com/49oyKrv.png

#define FILE_ATTRIBUTE_REPARSE_POINT        0x00000400  

So... 0x420, as shown, would be correct.

Make sure to open with FILE_FLAG_OPEN_REPARSE_POINT, otherwise you are opening what the reparse point points to.