From 11343d89efcb027b4a8855b58e2636f7c983241f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 20 Oct 2016 12:20:18 +0100 Subject: 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. --- ChangeLog | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e7c7c8b07..bbe5f7590 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2016-10-20 Peter Stephenson + * 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. -- cgit 1.4.1