summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>2020-02-18 13:51:16 +0000
committerSteve Hay <steve.m.hay@googlemail.com>2020-06-01 20:35:50 +0100
commit30228cdc40a106845f279082f032011abc99e09d (patch)
tree7f60ebd48268e221859196a9ee13aaa9e87e206e /proto.h
parent902f303cd9506ad4f77ea637b140359737ba7d05 (diff)
downloadperl-30228cdc40a106845f279082f032011abc99e09d.tar.gz
study_chunk: extract rck_elide_nothing
(CVE-2020-10878) (cherry picked from commit 4fccd2d99bdeb28c2937c3220ea5334999564aa8)
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 6d6cccfe02..88ec328cdc 100644
--- a/proto.h
+++ b/proto.h
@@ -5823,6 +5823,9 @@ STATIC SV * S_parse_uniprop_string(pTHX_ const char * const name, Size_t name_le
STATIC void S_populate_ANYOF_from_invlist(pTHX_ regnode *node, SV** invlist_ptr);
#define PERL_ARGS_ASSERT_POPULATE_ANYOF_FROM_INVLIST \
assert(node); assert(invlist_ptr)
+STATIC void S_rck_elide_nothing(pTHX_ regnode *node);
+#define PERL_ARGS_ASSERT_RCK_ELIDE_NOTHING \
+ assert(node)
PERL_STATIC_NO_RET void S_re_croak(pTHX_ bool utf8, const char* pat, ...)
__attribute__noreturn__
__attribute__format__(__printf__,pTHX_2,pTHX_3);