From: Vsevolod Stakhov Date: Mon, 14 Oct 2013 16:03:10 +0000 (+0100) Subject: Fix json unescape. X-Git-Tag: 0.6.0~121 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=90b8440a5fd918b9c2f7b93ed9ef042261c3083f;p=thirdparty%2Frspamd.git Fix json unescape. --- diff --git a/src/rcl/rcl_util.c b/src/rcl/rcl_util.c index a2cb444ea2..c351fa8591 100644 --- a/src/rcl/rcl_util.c +++ b/src/rcl/rcl_util.c @@ -169,6 +169,7 @@ rspamd_cl_unescape_json_string (gchar *str) *t++ = *h++; } } + *t = '\0'; } rspamd_cl_object_t*