[Perl/perl5] 2efd40: class: on error, clean up field init ops in the ri...
[email protected] (Tony Cook via perl5-changes) Tue, 04 Aug 2026 16:10:32 -0700
| Newsgroups | perl.perl5.changes |
|---|---|
| Message-ID | <Perl/perl5/push/refs/heads/blead/[email protected]> |
Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 2efd40ee5454059051ee1f75f9e8e04988a2278d
https://github.com/Perl/perl5/commit/2efd40ee5454059051ee1f75f9e8e04988a2278d
Author: Tony Cook <[email protected]>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M class.c
M t/lib/croak/class
Log Message:
-----------
class: on error, clean up field init ops in the right CV
This would clean up the OPs in whatever happened to be the current CV
when an exception was thrown, which could be the wrong CV.
This would result in pad entries being cleaned up in the wrong CV
which led to crashes.
Fixes #24616
Commit: a306dbbe057065201086d81b9b58d7d9851cfdde
https://github.com/Perl/perl5/commit/a306dbbe057065201086d81b9b58d7d9851cfdde
Author: Tony Cook <[email protected]>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M pod/perldelta.pod
Log Message:
-----------
perldelta for fix class field init ops in the right CV
Compare: https://github.com/Perl/perl5/compare/1f5371540695...a306dbbe0570
To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications