Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 60e9e3b7f337433869c7cb996e5c3b0d78734085
https://github.com/Perl/perl5/commit/60e9e3b7f337433869c7cb996e5c3b0d78734085
Author: Karl Williamson <[email protected]>
Date: 2025-03-18 (Tue, 18 Mar 2025)
Changed paths:
M regcomp.c
Log Message:
-----------
Clone R-O inversion list before modifying it
Unicode-defined properties are kept in inversion lists in read-only
memory. Attempting to modify them will result in a segfault. The new
Unicode 16.0 has some empty properties that need to be inverted before
use in some cases. This situation has not occurred before. The
inversion code that gets called presumes it has a modifiable SV and
inverts in-place. This segfaults.
Normally, no inversion is needed, and the properties are used as-is, and
no problem arises.
The solution here is to create a clone, and then invert that.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications