From f936f9d3c64349c5cce6421253659d91e690e349 Mon Sep 17 00:00:00 2001 From: Juho Juutilainen Date: Wed, 6 Mar 2024 12:28:09 +0200 Subject: [PATCH] ClamOnAcc: Fix infinite loop when OnAccessIncludePath doesn't exist Backported from: https://github.com/Cisco-Talos/clamav/pull/1047 --- clamonacc/inotif/inotif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clamonacc/inotif/inotif.c b/clamonacc/inotif/inotif.c index b8680e9856..89de537562 100644 --- a/clamonacc/inotif/inotif.c +++ b/clamonacc/inotif/inotif.c @@ -585,8 +585,8 @@ void *onas_ddd_th(void *arg) } } } - pt = (struct optstruct *)pt->nextarg; } + pt = (struct optstruct *)pt->nextarg; } }