From 16b85c639fe49a5de858ad6c7dea7782e4d66b1a Mon Sep 17 00:00:00 2001 From: Ralph Little Date: Wed, 9 Jul 2025 08:31:06 -0700 Subject: [PATCH] saned: closed fd should cause poll list to be rebuilt. User Andrey Kovalev contributed this fix to deal with the assertion. --- frontend/saned.c | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/saned.c b/frontend/saned.c index 5ca81cc26..7e0e580b8 100644 --- a/frontend/saned.c +++ b/frontend/saned.c @@ -3384,6 +3384,7 @@ run_standalone (char *user) else if (fd >= 0) { handle_client (fd); + poll_set_valid = SANE_FALSE; /* We will expect to add a pidfd */ if (run_once == SANE_TRUE) running = SANE_FALSE; /* We have handled the only connection we're going to handle */ }