Corrected a place in netcmp.c where a new instance net connection

is created without setting the cell name or instance name.  That
can cause a crash condition when attempting to locate the instance
from the net record.
This commit is contained in:
R. Timothy Edwards 2025-08-18 10:37:36 -04:00
parent a60dac6124
commit 4443826f9e
2 changed files with 7 additions and 1 deletions

View File

@ -1 +1 @@
1.5.295
1.5.296

View File

@ -7530,6 +7530,12 @@ struct nlist *addproxies(struct hashlist *p, void *clientdata)
else {
lob = ob;
ob->type = i++;
if (ob->model.class == NULL) {
ob->model.class = strsave(tc->name);
}
if (ob->instance.name == NULL) {
ob->instance.name = strsave(firstpin->instance.name);
}
ob = ob->next;
}
tob = tob->next;