Corrected a potential segfault issue in "extresist" if it encounters
a port label that is not connected to a valid layer (e.g., space).
This commit is contained in:
parent
7c973ad91a
commit
758a7d72ec
|
|
@ -212,6 +212,12 @@ ResMakePortBreakpoints(def)
|
||||||
node=(ResSimNode *) HashGetValue(entry);
|
node=(ResSimNode *) HashGetValue(entry);
|
||||||
if (node->status & PORTNODE)
|
if (node->status & PORTNODE)
|
||||||
{
|
{
|
||||||
|
if (node->rs_ttype <= 0)
|
||||||
|
{
|
||||||
|
TxError("Warning: Label \"%s\" is unconnected.\n", node->name);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
plane = def->cd_planes[DBPlane(node->rs_ttype)];
|
plane = def->cd_planes[DBPlane(node->rs_ttype)];
|
||||||
rect = &(node->rs_bbox);
|
rect = &(node->rs_bbox);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue