From f381647149aeca0ed4259114a97b3d8bc5c0debd Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 14 Nov 2026 22:21:47 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Repair=20cache=20invariant=20aft?= =?UTF-8?q?er=20stores?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit StoreID left the last-entry pointer on the final node, so two consecutive stores without an intervening query nil-dereferenced. --- UCacheManager.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/UCacheManager.pas b/UCacheManager.pas index 210819f..7b24753 100644 --- a/UCacheManager.pas +++ b/UCacheManager.pas @@ -298,6 +298,7 @@ begin end; FFirst^.ID := AID; FFirst^.Obj := AObj; + UpdateLast; end; end.