From: Vsevolod Stakhov Date: Fri, 5 Apr 2024 12:14:00 +0000 (+0100) Subject: [Minor] Fix issue with ucl variables X-Git-Tag: 3.9.0~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f9972509407770891054be33a70c4ff8af96fa3;p=thirdparty%2Frspamd.git [Minor] Fix issue with ucl variables Pointed by: @crest --- diff --git a/contrib/libucl/ucl_parser.c b/contrib/libucl/ucl_parser.c index b18fd06cee..df534df2f8 100644 --- a/contrib/libucl/ucl_parser.c +++ b/contrib/libucl/ucl_parser.c @@ -348,6 +348,7 @@ ucl_check_variable_safe (struct ucl_parser *parser, const char *ptr, size_t rema /* Call generic handler */ if (parser->var_handler (ptr, remain, &dst, &dstlen, &need_free, parser->var_data)) { + *out_len = dstlen; *found = true; if (need_free) { free (dst);