diff options
author | Karl Williamson <khw@cpan.org> | 2019-11-22 15:28:13 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-11-22 15:54:44 -0700 |
commit | 53d42e43e359facdd83b313c1f4b70f9ff559a70 (patch) | |
tree | d1e8547bbdfa043aaa7cd7a23b58ffcbc25a8fdc /regcomp.h | |
parent | 008bb368ebc18adc42e95769e4ebbd7d5545ce3d (diff) | |
download | perl-53d42e43e359facdd83b313c1f4b70f9ff559a70.tar.gz |
PATCH: gh #17319 Segfault
It turns out that one isn't supposed to fill in the offset to the next
regnode at node creation time. And this node is like EXACTish, so the
string stuff isn't accounted for in its regcomp.sym definition
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -165,7 +165,7 @@ struct regnode_lstring { /* Constructed this way to keep the string aligned. */ }; struct regnode_anyofhs { /* Constructed this way to keep the string aligned. */ - U8 flags; + U8 str_len; U8 type; U16 next_off; U32 arg1; /* set by set_ANYOF_arg() */ |