Added a catch for a node named "(none)" in a merge line. This

prevents magic from crashing but does not do anything about the
fact that a non-existent node ended up in the .ext file, which
will have to be investigated.
This commit is contained in:
Tim Edwards 2022-06-16 19:54:21 -04:00
parent bb9b9660e7
commit 2b7b12d34c
2 changed files with 11 additions and 4 deletions

View File

@ -1 +1 @@
8.3.312
8.3.313

View File

@ -1782,11 +1782,18 @@ esMakePorts(hc, cdata)
if (he != NULL)
{
nn = (EFNodeName *) HashGetValue(he);
flagrec->fdr_node = nn->efnn_node;
flagrec->fdr_node->efnode_flags |= flagrec->fdr_flags;
if (nn == NULL)
{
TxError("Error: Node %s not found in cell %s!\n",
locname, def->def_name);
}
else
{
flagrec->fdr_node = nn->efnn_node;
flagrec->fdr_node->efnode_flags |= flagrec->fdr_flags;
}
}
}
}
}