From: Marco Bettini Date: Thu, 12 Jun 2025 08:59:34 +0000 (+0000) Subject: config: config_dump_human_filter_path() - Fix for static checker false positive X-Git-Tag: 2.4.2~697 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3517774f1d896d2d43ff94378cb6b1e6213cb2d8;p=thirdparty%2Fdovecot%2Fcore.git config: config_dump_human_filter_path() - Fix for static checker false positive Found by Coverity, 40024 Dereference after null check --- diff --git a/src/config/doveconf.c b/src/config/doveconf.c index a87c68a1f4..4a7893f45a 100644 --- a/src/config/doveconf.c +++ b/src/config/doveconf.c @@ -850,6 +850,7 @@ config_dump_human_filter_path(enum config_dump_scope scope, const char *alt_set_name_filter2 = NULL; if (filter_parser->filter.filter_name_array) { + i_assert(filter_name != NULL); strip_prefix2 = strip_prefix; strip_prefix = t_strconcat( t_str_replace(filter_name, '/', '_'), "_", NULL);