From 000dab40e3403a69466af37f3458339f62637078 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 2 Oct 2019 12:59:10 -0400 Subject: [PATCH] Made a correction to the last commit as the wrong hash search function was used (HashFind, which never returns NULL, vs. HashLookOnly, which does) resulting in a failure to solve the problem which was being patched, which was ext2spice crashing when cell arrays are present, which itself was due to allowing brackets in base cell use names. --- ext2spice/ext2hier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext2spice/ext2hier.c b/ext2spice/ext2hier.c index 62dbc13b..fd06a376 100644 --- a/ext2spice/ext2hier.c +++ b/ext2spice/ext2hier.c @@ -1586,7 +1586,7 @@ esMakePorts(hc, cdata) is_array = FALSE; if (aptr != NULL) { - he = HashFind(&updef->def_uses, portname); + he = HashLookOnly(&updef->def_uses, portname); if (he == NULL) { *aptr = '\0';