From 0f9972509407770891054be33a70c4ff8af96fa3 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 5 Apr 2024 13:14:00 +0100 Subject: [PATCH] [Minor] Fix issue with ucl variables Pointed by: @crest --- contrib/libucl/ucl_parser.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.47.3