Skip to content

Commit e8bda60

Browse files
committed
perldelta for GH #24212 fix
1 parent 9771098 commit e8bda60

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pod/perldelta.pod

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,15 @@ 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+
Calling an XSUB via goto in scalar context, where the XSUB didn't return
555+
exactly one value, could result in the return of the wrong number of
556+
items, leading to potential stack corruption. For example:
557+
558+
sub wrap { goto \&an_xsub_which returns_no_values }
559+
$ret = wrap();
560+
552561
=back
553562

554563
=head1 Known Problems

0 commit comments

Comments
 (0)