From 38f05a24a5da2c3692fa41a28aad6bc767a08b92 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 23 Apr 2018 17:40:30 +0100 Subject: [PATCH] [CritFix] Fix ucl escape for bad symbols Issue: #2194 --- contrib/libucl/ucl_emitter_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5