Skip to content

Reject overlong forms and out-of-range code points in _Mbrtowc#5943

Closed
LumioseSil wants to merge 1 commit intomicrosoft:mainfrom
LumioseSil:utf-8
Closed

Reject overlong forms and out-of-range code points in _Mbrtowc#5943
LumioseSil wants to merge 1 commit intomicrosoft:mainfrom
LumioseSil:utf-8

Conversation

@LumioseSil
Copy link
Copy Markdown
Contributor

Added UTF-8 validation in _Mbrtowc to reject overlong encodings and out-of-range code points, returning EILSEQ instead of accepting ill-formed sequences.

Added UTF-8 validation in _Mbrtowc to reject overlong encodings and out-of-range code points, returning EILSEQ instead of accepting ill-formed sequences.
@LumioseSil LumioseSil requested a review from a team as a code owner December 6, 2025 15:39
@github-project-automation github-project-automation Bot moved this to Initial Review in STL Code Reviews Dec 6, 2025
@StephanTLavavej

This comment was marked as outdated.

@StephanTLavavej StephanTLavavej added the bug Something isn't working label Dec 6, 2025
@StephanTLavavej StephanTLavavej moved this from Initial Review to Work In Progress in STL Code Reviews Dec 7, 2025
@StephanTLavavej
Copy link
Copy Markdown
Member

Without a test case, it is unclear whether this is fixing a real bug, or if it's AI-written code that's not doing anything productive.

@StephanTLavavej
Copy link
Copy Markdown
Member

Closing due to no response, superseded by #6060, thanks @cpplearner!

@github-project-automation github-project-automation Bot moved this from Work In Progress to Done in STL Code Reviews Jan 31, 2026
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.

2 participants