diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-04-23 17:40:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-04-23 17:40:30 +0100 |
commit | 38f05a24a5da2c3692fa41a28aad6bc767a08b92 (patch) | |
tree | 7ff79b53a334f7707dc780227b6d3b0ecddbd287 /contrib | |
parent | a90f88ca6b5561e3b99c92da508495c4a47956a3 (diff) | |
download | rspamd-38f05a24a5da2c3692fa41a28aad6bc767a08b92.tar.gz rspamd-38f05a24a5da2c3692fa41a28aad6bc767a08b92.zip |
[CritFix] Fix ucl escape for bad symbols
Issue: #2194
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/libucl/ucl_emitter_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libucl/ucl_emitter_utils.c b/contrib/libucl/ucl_emitter_utils.c index 11a6c4b3d..0831b3bf9 100644 --- a/contrib/libucl/ucl_emitter_utils.c +++ b/contrib/libucl/ucl_emitter_utils.c @@ -138,7 +138,7 @@ ucl_elt_string_write_json (const char *str, size_t size, break; default: /* Emit unicode unknown character */ - func->ucl_emitter_append_len ("\\uFFFD", 5, func->ud); + func->ucl_emitter_append_len ("\\uFFFD", 6, func->ud); break; } len = 0; |