summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-07-13 20:22:25 +0000
committerNicholas Clark <nick@ccl4.org>2008-07-13 20:22:25 +0000
commit6c65d5f9331797a0b303b34e8a76d4c0ea75e4d0 (patch)
tree09865303417b60549801f9e2c67b88493912fb84 /pod/perldiag.pod
parent7e455f685b45addf2cc78d01dda187c70274aaa3 (diff)
downloadperl-6c65d5f9331797a0b303b34e8a76d4c0ea75e4d0.tar.gz
The assert()ions in sv_chop() that the passed in pointer is within the
SV's buffer should be full-on panics, as bogus values passed in can cause later heap corruption, which is a bad thing (TM). p4raw-id: //depot/perl@34138
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index f5c61d70c2..c5125598bf 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -3189,6 +3189,11 @@ then discovered it wasn't a subroutine or eval context.
(P) scan_num() got called on something that wasn't a number.
+=item panic: sv_chop %s
+
+(P) The sv_chop() routine was passed a position that is not within the
+scalar's string buffer.
+
=item panic: sv_insert
(P) The sv_insert() routine was told to remove more string than there