From 1882bdd95b0db77b2ad61ef8d3dc2c9ff9c3fdb1 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Sun, 3 Mar 2024 08:00:24 +0000 Subject: [PATCH] mosquitto_passwd: Don't exit on signal for oss-fuzz --- apps/mosquitto_passwd/mosquitto_passwd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/mosquitto_passwd/mosquitto_passwd.c b/apps/mosquitto_passwd/mosquitto_passwd.c index 7ffe37d480..9c4e532e2f 100644 --- a/apps/mosquitto_passwd/mosquitto_passwd.c +++ b/apps/mosquitto_passwd/mosquitto_passwd.c @@ -384,7 +384,9 @@ static void handle_sigint(int signal) UNUSED(signal); +#ifndef WITH_FUZZING exit(0); +#endif }