Patch-Source: https://github.com/nbs-system/naxsi/commit/aa9da98b1b9b52e5d95bbc28dc8126c0920cb4cb From aa9da98b1b9b52e5d95bbc28dc8126c0920cb4cb Mon Sep 17 00:00:00 2001 From: Giovanni <561184+wargio@users.noreply.github.com> Date: Fri, 18 Dec 2020 11:31:42 +0100 Subject: [PATCH] Fix #541 - Removing useless assert. --- naxsi_src/naxsi_runtime.c | 1 - 1 file changed, 1 deletion(-) diff --git a/naxsi_src/naxsi_runtime.c b/naxsi_src/naxsi_runtime.c index eccdce3e..28e0b29d 100644 --- a/naxsi_src/naxsi_runtime.c +++ b/naxsi_src/naxsi_runtime.c @@ -1073,7 +1073,6 @@ ngx_http_nx_log(ngx_http_request_ctx_t* ctx, ** don't handle uri > 4k, string will be split */ - assert(strlen(fmt_config) != 0); sub = snprintf((char*)fragment->data, sz_left, fmt_base,