Skip to content

S_scan_const: Use utf8_to_uv_or_die not utf8n_to_uvchr#23080

Closed
khwilliamson wants to merge 1 commit intoPerl:bleadfrom
khwilliamson:scan_const_or_die
Closed

S_scan_const: Use utf8_to_uv_or_die not utf8n_to_uvchr#23080
khwilliamson wants to merge 1 commit intoPerl:bleadfrom
khwilliamson:scan_const_or_die

Conversation

@khwilliamson
Copy link
Contributor

This will now croak if the input is malformed instead of wrongly turning it into a NUL.

  • This set of changes does not require a perldelta entry.

This will now croak if the input is malformed instead of wrongly turning
it into a NUL.
@tonycoz
Copy link
Contributor

tonycoz commented Mar 10, 2025

If this changes behaviour, it should have a test to check that behaviour.

@khwilliamson khwilliamson added the defer-next-dev This PR should not be merged yet, but await the next development cycle label Apr 24, 2025
@khwilliamson khwilliamson removed the defer-next-dev This PR should not be merged yet, but await the next development cycle label Jul 4, 2025
@khwilliamson khwilliamson deleted the scan_const_or_die branch August 17, 2025 22:07
@khwilliamson khwilliamson restored the scan_const_or_die branch August 17, 2025 22:13
@khwilliamson khwilliamson deleted the scan_const_or_die branch August 18, 2025 21:08
@khwilliamson
Copy link
Contributor Author

Fixed by 2f150dc

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants