From 87cc544ee34abf78ce87488a6dfd0504b4bf30eb Mon Sep 17 00:00:00 2001 From: Ervin Hegedus Date: Wed, 23 Jul 2025 21:40:32 +0200 Subject: [PATCH] Add NOSONAR flag to avoid issue report --- headers/modsecurity/rules_set_properties.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/modsecurity/rules_set_properties.h b/headers/modsecurity/rules_set_properties.h index 8ec2c93f..81e81b53 100644 --- a/headers/modsecurity/rules_set_properties.h +++ b/headers/modsecurity/rules_set_properties.h @@ -119,7 +119,7 @@ public: set_error(errmsg, "Number out of range"); return false; } - catch (...) { + catch (...) { // NOSONAR // we don't need to handle all exceptions, the engine's BISON parser // does not allow other symbols than numbers set_error(errmsg, "An unknown error occurred while parsed the value.");