From 97e58519bc946daabcadc531510497c3598961a1 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 6 Nov 2026 20:25:39 +0100 Subject: Fix an accesslist reload issue where an empty-but-present changeset after a reload could potentially walk a NULL array --- tests/integration/harness.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/integration/harness.py') diff --git a/tests/integration/harness.py b/tests/integration/harness.py index e5ec621..f3cd0fa 100644 --- a/tests/integration/harness.py +++ b/tests/integration/harness.py @@ -135,6 +135,11 @@ class Tracker: self.log.seek(0) return self.log.read().decode("utf-8", "replace") + def reload(self): + """SIGHUP makes the accesslist reader re-read its files, which also + empties the dynamic add/delete changesets.""" + os.kill(self.process.pid, signal.SIGHUP) + def stop(self): """Returns anything the tracker complained about on the way out. -- cgit v1.3