Fixed an additional call to HashFind() that should have been

HashLookOnly() and can potentially cause a crash.
This commit is contained in:
Tim Edwards 2019-10-18 14:25:28 -04:00
parent 39ab59e7ec
commit b8c34cb10b
1 changed files with 1 additions and 1 deletions

View File

@ -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);