Hi On Tue, Jun 8, 2021 at 3:44 PM Arne Schwabe <[email protected]> wrote:
> clang does not like if the format argument of printf like function > is not a string literal: > > warning: format string is not a string literal (potentially insecure) > > Use "%s" as string literal to silence the warning. > Format string is often not a string literal -- we have many other such usages in the source, though probably none without a third argument. grep for fmt, for example. Here str is a const char *, what more do they want? Would const char * const str work? Selva
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
