]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Coverity #1547098
authorAlan T. DeKok <aland@freeradius.org>
Mon, 9 Oct 2023 12:37:00 +0000 (08:37 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 9 Oct 2023 12:37:00 +0000 (08:37 -0400)
src/lib/unlang/xlat_redundant.c

index 6168caf9532197b1e711401ba6e9e0d8496e9113..5f09055b1611b5eaf7c8afff86bb7c24368aacbe 100644 (file)
@@ -321,7 +321,11 @@ static int xlat_redundant_instantiate(xlat_inst_ctx_t const *xctx)
                 *      we return.
                 */
                head->flags = node->flags;
-               xlat_bootstrap(head, NULL);
+               if (xlat_bootstrap(head, NULL) < 0) {
+                       PERROR("Failed boostrapping function \"%s\"",
+                              xrf->func->name);
+                       goto error;
+               }
                xri->ex[num++] = head;
        }