Corrected an issue that can cause a segfault in an incorrect run
setup when a cell has no pins. Didn't really analyze the error condition, just caught and handled the condition to avoid the segfault.
This commit is contained in:
parent
3392159243
commit
8a20b90074
|
|
@ -7544,6 +7544,11 @@ struct nlist *addproxies(struct hashlist *p, void *clientdata)
|
|||
}
|
||||
else {
|
||||
lob = ob;
|
||||
if (ob == NULL) {
|
||||
Fprintf(stdout, "Error: Premature end of pin list on "
|
||||
"instance %s.\n", firstpin->instance.name);
|
||||
break;
|
||||
}
|
||||
ob->type = i++;
|
||||
ob = ob->next;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue