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 /Src/Modules/attr.c | |
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 'Src/Modules/attr.c')
0 files changed, 0 insertions, 0 deletions