Skip to content

Conversation

@MattStephanson
Copy link
Contributor

Fixes #1556. In _Fill_memset_is_safe, the _Unwrap_enum_t template discards qualifiers of enum types, including byte, so volatile needs to be checked explicitly.

@MattStephanson MattStephanson requested a review from a team as a code owner January 6, 2021 07:32
@StephanTLavavej StephanTLavavej added the bug Something isn't working label Jan 6, 2021
@StephanTLavavej StephanTLavavej self-assigned this Jan 12, 2021
@StephanTLavavej StephanTLavavej merged commit 85ad053 into microsoft:master Jan 15, 2021
@StephanTLavavej
Copy link
Member

Thanks for fixing this bug - it fills my heart with joy! 😹 😻

@MattStephanson MattStephanson deleted the gh-1556-volatile-fill branch January 24, 2021 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<algorithm>: fill does not accept volatile byte pointers

4 participants