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 /regnodes.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 'regnodes.h')
-rw-r--r-- | regnodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regnodes.h b/regnodes.h index fa90f50b14..89f8ecc2e7 100644 --- a/regnodes.h +++ b/regnodes.h @@ -351,7 +351,7 @@ static const U8 regarglen[] = { EXTRA_SIZE(struct regnode_1), /* ANYOFH */ EXTRA_SIZE(struct regnode_1), /* ANYOFHb */ EXTRA_SIZE(struct regnode_1), /* ANYOFHr */ - EXTRA_SIZE(struct regnode_anyofhs), /* ANYOFHs */ + EXTRA_SIZE(struct regnode_1), /* ANYOFHs */ EXTRA_SIZE(struct regnode_1), /* ANYOFR */ EXTRA_SIZE(struct regnode_1), /* ANYOFRb */ EXTRA_SIZE(struct regnode_1), /* ANYOFM */ |