Commit 9c4bfd0c authored by Philipp Schafft's avatar Philipp Schafft 🦁

consider backticks as well as backslashes invalid chars

svn path=/icecast/trunk/log/; revision=18361
parent f0701899
......@@ -518,7 +518,7 @@ static void __vsnprintf(char *str, size_t size, const char *format, va_list ap)
{
for (; *arg && block_len && size; arg++, size--)
{
if (*arg <= '"')
if (*arg <= '"' || *arg == '`' || *arg == '\\')
*(str++) = '.';
else
*(str++) = *arg;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment