core icon indicating copy to clipboard operation
core copied to clipboard

doctrenderer: make sure printf always uses a format string

Open raboof opened this issue 1 year ago • 1 comments

Passing the string that is to be printed as the format string could lead to trouble when the string has sequences that would have meaning in a format string. Using the "%s" format string makes sure the string that is to be printed isn't interpreted as a format string.

This also makes compiling with -Werror=format-security happy.

raboof avatar Aug 28 '24 07:08 raboof

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 28 '24 07:08 CLAassistant