From: Alan T. DeKok Date: Wed, 27 Jun 2018 22:19:39 +0000 (-0400) Subject: move assertion X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e98e2f86ea7badaf11d4e015687f20963098914;p=thirdparty%2Ffreeradius-server.git move assertion --- diff --git a/src/main/command.c b/src/main/command.c index 02531d1ff28..4266a4d64e6 100644 --- a/src/main/command.c +++ b/src/main/command.c @@ -588,9 +588,9 @@ check_child: * the next command at the current level. */ if (cmd->child) { + rad_assert(stack->depth < MAX_STACK); info.parents[stack->depth] = cmd->name; stack->depth++; - rad_assert(stack->depth < MAX_STACK); stack->entry[stack->depth] = cmd->child; /*