From b8c34cb10b703efdbce1bf29dcab47812176487c Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Fri, 18 Oct 2019 14:25:28 -0400 Subject: [PATCH] Fixed an additional call to HashFind() that should have been HashLookOnly() and can potentially cause a crash. --- ext2spice/ext2hier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext2spice/ext2hier.c b/ext2spice/ext2hier.c index 7d3df37f..07143cb0 100644 --- a/ext2spice/ext2hier.c +++ b/ext2spice/ext2hier.c @@ -1596,7 +1596,7 @@ esMakePorts(hc, cdata) // Find the cell for the instance portdef = NULL; - he = HashFind(&updef->def_uses, portname); + he = HashLookOnly(&updef->def_uses, portname); if (he != NULL) { use = (Use *)HashGetValue(he);