diff options
author | Peter Stephenson <pws@zsh.org> | 2016-10-20 12:20:18 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2016-10-20 12:20:18 +0100 |
commit | 11343d89efcb027b4a8855b58e2636f7c983241f (patch) | |
tree | 42621447221a3fc071b2bbde70de2f8a40e6e4dc /ChangeLog | |
parent | d2c9f85f59ab7e58af68c5f89b64a95ac26e1e43 (diff) | |
download | zsh-11343d89efcb027b4a8855b58e2636f7c983241f.tar.gz zsh-11343d89efcb027b4a8855b58e2636f7c983241f.tar.xz zsh-11343d89efcb027b4a8855b58e2636f7c983241f.zip |
39688: Skip out of P_EXACTLY pattern loop if P_PURES.
If it's really a pure string, there's only one exact match. We could overwrite the next pointer; usually this didn't matter because we'd hit a termination, but if we reallocated we might be looking at garbage.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index e7c7c8b07..bbe5f7590 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2016-10-20 Peter Stephenson <p.stephenson@samsung.com> + * 39688: Src/pattern.c: Alternative fix: next pointer is + irrelevant anyway as there's only one P_EXACTLY in a P_PURES. + * 39683: Src/pattern.c: Update scan pointer in pattern after possible reallocation for meta handling. |