diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2017-02-12 13:28:11 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2017-02-12 13:28:11 +0000 |
commit | 8b0fdf16e57ce9a653a0a03c39f6cc061e8122e8 (patch) | |
tree | ae7b5bd6bec8f02e17bf1d419838c57eaa5bf50a | |
parent | 5be027b624bc866702808abadfe5f99360414086 (diff) | |
download | pcre-8b0fdf16e57ce9a653a0a03c39f6cc061e8122e8.tar.gz |
Fix bug in most recent fix for multiline pcre2grep.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1679 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r-- | pcregrep.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1826,6 +1826,7 @@ while (ptr < endptr) startoffset -= (int)(linelength + endlinelength); t = end_of_line(ptr, endptr, &endlinelength); linelength = t - ptr - endlinelength; + length = (size_t)(endptr - ptr); } goto ONLY_MATCHING_RESTART; |