From b1b04b8e8722ea9006b73ee0bbb593a023643d37 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 17 Mar 2021 16:31:22 -0400 Subject: [PATCH] Corrected a statement related to proxy pins that can cause a segfault condition. --- VERSION | 2 +- base/netcmp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 274b8fb..b707fed 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.171 +1.5.172 diff --git a/base/netcmp.c b/base/netcmp.c index d50e05a..38887e7 100644 --- a/base/netcmp.c +++ b/base/netcmp.c @@ -6913,7 +6913,7 @@ struct nlist *addproxies(struct hashlist *p, void *clientdata) /* But if the target cell instance has proxy(no pins), then reuse * the record and modify it. */ - if (!strcmp(ob->name, "proxy(no pins)")) { + if (ob && !strcmp(ob->name, "proxy(no pins)")) { obn = ob; FREE(ob->name); obn->name = (char *)MALLOC(strlen(ob->instance.name)