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.sym | |
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.sym')
-rw-r--r-- | regcomp.sym | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.sym b/regcomp.sym index 2f4018d62d..a8ff034083 100644 --- a/regcomp.sym +++ b/regcomp.sym @@ -82,7 +82,7 @@ ANYOFPOSIXL ANYOF, sv charclass_posixl S ; Like ANYOFL, but matches [[:p ANYOFH ANYOF, sv 1 S ; Like ANYOF, but only has "High" matches, none in the bitmap; the flags field contains the lowest matchable UTF-8 start byte ANYOFHb ANYOF, sv 1 S ; Like ANYOFH, but all matches share the same UTF-8 start byte, given in the flags field ANYOFHr ANYOF, sv 1 S ; Like ANYOFH, but the flags field contains packed bounds for all matchable UTF-8 start bytes. -ANYOFHs ANYOF, sv anyofhs S ; Like ANYOFHb, but has a string field that gives the leading matchable UTF-8 bytes; flags field is len +ANYOFHs ANYOF, sv 1 S ; Like ANYOFHb, but has a string field that gives the leading matchable UTF-8 bytes; flags field is len ANYOFR ANYOFR, packed 1 S ; Matches any character in the range given by its packed args: upper 12 bits is the max delta from the base lower 20; the flags field contains the lowest matchable UTF-8 start byte ANYOFRb ANYOFR, packed 1 S ; Like ANYOFR, but all matches share the same UTF-8 start byte, given in the flags field # There is no ANYOFRr because khw doesn't think there are likely to be real-world cases where such a large range is used. |