summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-08-14 11:17:48 +0100
committerPeter Stephenson <pws@zsh.org>2017-08-14 11:17:48 +0100
commit74aff4106a4272d86c637c472a04efd46bbec07e (patch)
treef859d94e5080bb710716f43a8a421ddc4c5532cc /ChangeLog
parentb5f40f415668be88f451dbce956597e77f1bc056 (diff)
downloadzsh-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--ChangeLog6
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,