Branch: refs/heads/maint-5.42
Home: https://github.com/Perl/perl5
Commit: b531d97b99333cc9bd5ded97e2a2e3c6c98923e3
https://github.com/Perl/perl5/commit/b531d97b99333cc9bd5ded97e2a2e3c6c98923e3
Author: Karl Williamson <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M regcomp_study.c
M t/re/pat_advanced.t
Log Message:
-----------
regcomp_study: Don't create a trie that would overflow
This addresses GH #23388
The design of the trie compiling code is to batch extra long tries into
smaller chunks that fit into whatever limitations there are. However,
this ticket shows that that isn't always being done.
In this case, a bunch of branches that have TAIL operands can be
combined together, and the final TAIL is used. And the code requires
that the delta between the first branch and this final TAIL fit into a
16-bit field. That is the root cause of this bug.
I'm not familiar enough with the trie construction code to easily
understand why the final tail needs to be used here. So this patch
simply doesn't optimize a sequence of branches into a trie that would
overflow.
This could be revisited by someone who knows more about this than I, or
earlier in the development cycle.
(cherry picked from commit 03f74bbbd3a68350d926ee93d56ee4808c28c4c7)
Commit: a3f896fa7e6688e222a12f91e77a3c02e3e08062
https://github.com/Perl/perl5/commit/a3f896fa7e6688e222a12f91e77a3c02e3e08062
Author: Leon Timmermans <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M pod/perldelta.pod
Log Message:
-----------
Add something about CVE-2026-13221 to perl5440delta
(cherry picked from commit 57f455aec1f783039270f4058af5c93ca22c431e)
Commit: 3cacdae23825bc164f9108f1b591ae1398c97e59
https://github.com/Perl/perl5/commit/3cacdae23825bc164f9108f1b591ae1398c97e59
Author: Steve Hay <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M pod/perldelta.pod
Log Message:
-----------
perldelta: Remove boilerplate
Compare: https://github.com/Perl/perl5/compare/4726851d5abc...3cacdae23825
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications