From: Alan T. DeKok Date: Mon, 9 Oct 2023 12:37:00 +0000 (-0400) Subject: Coverity #1547098 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faf30ffba76873592ceaee52b68b7c86ed3c552b;p=thirdparty%2Ffreeradius-server.git Coverity #1547098 --- diff --git a/src/lib/unlang/xlat_redundant.c b/src/lib/unlang/xlat_redundant.c index 6168caf953..5f09055b16 100644 --- a/src/lib/unlang/xlat_redundant.c +++ b/src/lib/unlang/xlat_redundant.c @@ -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; }