Skip to content

Conversation

@AZero13
Copy link
Contributor

@AZero13 AZero13 commented Dec 27, 2025

No description provided.

@AZero13 AZero13 requested a review from a team as a code owner December 27, 2025 03:52
@github-project-automation github-project-automation bot moved this to Initial Review in STL Code Reviews Dec 27, 2025
@StephanTLavavej
Copy link
Member

This certainly appears to be a bug, after looking into how FSCTL_GET_REPARSE_POINT and FSCTL_SET_REPARSE_POINT work. This codepath is used in a single place, when copying a junction. I'll need to manually exercise this scenario (automated test coverage could potentially be problematic).

@StephanTLavavej StephanTLavavej added bug Something isn't working filesystem C++17 filesystem labels Dec 31, 2025
@StephanTLavavej StephanTLavavej changed the title Bug: We should use the size of the buffer, not buffer pointer filesystem.cpp: __std_fs_write_reparse_data_buffer() should use the size of the buffer, not buffer pointer Dec 31, 2025
@StephanTLavavej StephanTLavavej moved this from Initial Review to Work In Progress in STL Code Reviews Jan 5, 2026
@StephanTLavavej
Copy link
Member

We don't think this fix is correct, sizeof(*_Buffer) contains a "fake" array element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working filesystem C++17 filesystem

Projects

Status: Work In Progress

Development

Successfully merging this pull request may close these issues.

2 participants