mirror of
https://github.com/cc65/cc65.git
synced 2024-06-26 20:29:34 +00:00
fix crash when a NULL ExprNode is checked for circular references
This commit is contained in:
parent
4d5fe38540
commit
3584c4c87f
|
@ -464,6 +464,12 @@ static void GetSegExprValInternal (ExprNode* Expr, SegExprDesc* D, int Sign)
|
||||||
{
|
{
|
||||||
Export* E;
|
Export* E;
|
||||||
|
|
||||||
|
if (Expr == 0)
|
||||||
|
{
|
||||||
|
D->TooComplex = 1;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch (Expr->Op) {
|
switch (Expr->Op) {
|
||||||
|
|
||||||
case EXPR_LITERAL:
|
case EXPR_LITERAL:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user