Re: [PATCH 12/12] netfilter: conntrack: use correct format characters

From: Pablo Neira Ayuso
Date: Mon Jul 11 2022 - 10:35:47 EST


On Thu, Jun 09, 2022 at 10:16:31PM +0000, Bill Wendling wrote:
> From: Bill Wendling <isanbard@xxxxxxxxx>
>
> When compiling with -Wformat, clang emits the following warnings:
>
> net/netfilter/nf_conntrack_helper.c:168:18: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
> request_module(mod_name);
> ^~~~~~~~
>
> Use a string literal for the format string.

Applied this patch to nf-next, thanks