Skip to content

Commit 62e0d54

Browse files
committed
perldelta for refassigning to a class field leads to a crash
1 parent ec126db commit 62e0d54

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pod/perldelta.pod

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,13 @@ while being output, garbage bytes would be left in that scalar.
549549
C<close(STDOUT)> when C<STDOUT> has been opened as a pipe will now
550550
properly wait for the child to exit on Windows. [GH #4106]
551551

552+
=item *
553+
554+
Refassigning to a class field in a method could result in the SV for
555+
that field being released when the method exited. The next access to
556+
that field could result in a crash or an assertion, or if the freed SV
557+
had been re-used, random data. Discussed in [GH #24187]
558+
552559
=back
553560

554561
=head1 Known Problems

0 commit comments

Comments
 (0)