fix crash when a NULL ExprNode is checked for circular references

This commit is contained in:
bbbradsmith 2021-02-22 11:57:32 -05:00 committed by greg-king5
parent 4d5fe38540
commit 3584c4c87f
1 changed files with 6 additions and 0 deletions

View File

@ -464,6 +464,12 @@ static void GetSegExprValInternal (ExprNode* Expr, SegExprDesc* D, int Sign)
{
Export* E;
if (Expr == 0)
{
D->TooComplex = 1;
return;
}
switch (Expr->Op) {
case EXPR_LITERAL: