1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-16 06:15:24 +00:00

Update: Avoid %s for charset in logging as it might be provided externally

This commit is contained in:
Philipp Schafft 2022-02-25 14:31:23 +00:00
parent b986bf5d78
commit fa9ac44852

View File

@ -1473,7 +1473,7 @@ char *util_conv_string (const char *string, const char *in_charset, const char *
xmlBufferPtr utf8 = xmlBufferCreate ();
xmlBufferPtr conv = xmlBufferCreate ();
ICECAST_LOG_INFO("converting metadata from %s to %s", in_charset, out_charset);
ICECAST_LOG_INFO("converting metadata from %#H to %#H", in_charset, out_charset);
xmlBufferCCat (orig, string);
if (xmlCharEncInFunc (in, utf8, orig) > 0)
{