]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
make sure the value-box is initialized
authorAlan T. DeKok <aland@freeradius.org>
Tue, 5 Sep 2023 13:30:22 +0000 (09:30 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 5 Sep 2023 13:30:22 +0000 (09:30 -0400)
src/lib/redis/redis.c

index 31abfccf6537be43eda8b664c5464a683fbb172c..9fddb2dfe86cea4ffb988f55468fac13849011ee 100644 (file)
@@ -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,