Fixed an additional call to HashFind() that should have been
HashLookOnly() and can potentially cause a crash.
This commit is contained in:
parent
39ab59e7ec
commit
b8c34cb10b
|
|
@ -1596,7 +1596,7 @@ esMakePorts(hc, cdata)
|
||||||
|
|
||||||
// Find the cell for the instance
|
// Find the cell for the instance
|
||||||
portdef = NULL;
|
portdef = NULL;
|
||||||
he = HashFind(&updef->def_uses, portname);
|
he = HashLookOnly(&updef->def_uses, portname);
|
||||||
if (he != NULL)
|
if (he != NULL)
|
||||||
{
|
{
|
||||||
use = (Use *)HashGetValue(he);
|
use = (Use *)HashGetValue(he);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue