mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
consider backticks as well as backslashes invalid chars
svn path=/icecast/trunk/log/; revision=18361
This commit is contained in:
parent
ddbce35678
commit
95105687f1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user