Skip to content

Fix formula for output buffer size for FSCTL_GET_NTFS_FILE_RECORD#2187

Open
bulmax wants to merge 1 commit into
MicrosoftDocs:docsfrom
bulmax:bulmax-patch-1
Open

Fix formula for output buffer size for FSCTL_GET_NTFS_FILE_RECORD#2187
bulmax wants to merge 1 commit into
MicrosoftDocs:docsfrom
bulmax:bulmax-patch-1

Conversation

@bulmax
Copy link
Copy Markdown

@bulmax bulmax commented Mar 11, 2026

Due to alignment, sizeof(NTFS_FILE_RECORD_OUTPUT_BUFFER)=16, but output buffer's correct size should be 12+BytesPerFileRecordSegment, not 15+BytesPerFileRecordSegment.

Due to alignment, sizeof(NTFS_FILE_RECORD_OUTPUT_BUFFER)=16, but output buffer's correct size should be 12+BytesPerFileRecordSegment, not 15+BytesPerFileRecordSegment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant