diff options
author | Peter Stephenson <pws@zsh.org> | 2017-08-14 11:17:48 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2017-08-14 11:17:48 +0100 |
commit | 74aff4106a4272d86c637c472a04efd46bbec07e (patch) | |
tree | f859d94e5080bb710716f43a8a421ddc4c5532cc /ChangeLog | |
parent | b5f40f415668be88f451dbce956597e77f1bc056 (diff) | |
download | zsh-74aff4106a4272d86c637c472a04efd46bbec07e.tar.gz zsh-74aff4106a4272d86c637c472a04efd46bbec07e.tar.xz zsh-74aff4106a4272d86c637c472a04efd46bbec07e.zip |
41542: Fix pcre logic for extracting matched parentheses.
When we went off the end of the array but measured the length implicitly, we got lucky before. After 41308 we were looking up lengths in stale memory. Rename some variables, clean up the logic, be easier to understand. Add tests.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 026fe3796..9fec281a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-08-14 Peter Stephenson <p.stephenson@samsung.com> + + * Phil: 4152: Src/Modules/pcre.c, Test/V07pcre.ztst: fix big + with uninititialised memory in logic for extracting matched + parentheses. + 2017-08-11 Peter Stephenson <p.stephenson@samsung.com> * Phil: 41527 (tweak to use heap memory): Src/module.c, |