From 4443826f9eff5b5315bfc2e420487238a87654e9 Mon Sep 17 00:00:00 2001 From: "R. Timothy Edwards" Date: Mon, 18 Aug 2025 10:37:36 -0400 Subject: [PATCH] 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. --- VERSION | 2 +- base/netcmp.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index d7965c4..07e5b5f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.295 +1.5.296 diff --git a/base/netcmp.c b/base/netcmp.c index c00e634..dfa3359 100644 --- a/base/netcmp.c +++ b/base/netcmp.c @@ -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;