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:
R. Timothy Edwards 2025-12-08 13:09:50 -05:00
parent 3392159243
commit 8a20b90074
2 changed files with 6 additions and 1 deletions

View File

@ -1 +1 @@
1.5.311
1.5.312

View File

@ -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;
}