summaryrefslogtreecommitdiff
path: root/pod/perltodo.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perltodo.pod')
-rw-r--r--pod/perltodo.pod7
1 files changed, 7 insertions, 0 deletions
diff --git a/pod/perltodo.pod b/pod/perltodo.pod
index 1b5db1183d..e434a1d4f0 100644
--- a/pod/perltodo.pod
+++ b/pod/perltodo.pod
@@ -580,6 +580,13 @@ Should taint be stopped from affecting control flow, if ($tainted)?
Should tainted symbolic method calls and subref calls be stopped?
(Look at Ruby's $SAFE levels for inspiration?)
+=head2 Perform correctly when XSUBs call subroutines that exit via goto(LABEL) and friends
+
+If an XSUB calls a subroutine that exits using goto(LABEL),
+last(LABEL) or next(LABEL), then the interpreter will very probably crash
+with a segfault because the execution resumes in the XSUB instead of
+never returning there.
+
=head1 Vague ideas
Ideas which have been discussed, and which may or may not happen.