From: Alan T. DeKok Date: Tue, 5 Sep 2023 13:30:22 +0000 (-0400) Subject: make sure the value-box is initialized X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfca2726dad5615df71e397bb58e0fa391bf76d4;p=thirdparty%2Ffreeradius-server.git make sure the value-box is initialized --- diff --git a/src/lib/redis/redis.c b/src/lib/redis/redis.c index 31abfccf653..9fddb2dfe86 100644 --- a/src/lib/redis/redis.c +++ b/src/lib/redis/redis.c @@ -410,7 +410,7 @@ int fr_redis_reply_to_map(TALLOC_CTX *ctx, map_list_t *out, request_t *request, case REDIS_REPLY_STRING: case REDIS_REPLY_INTEGER: { - fr_value_box_t vb; + fr_value_box_t vb = FR_VALUE_BOX_INITIALISER_NULL(vb); /* Logs own errors */ if (fr_redis_reply_to_value_box(map, &vb, value,