mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Fixed an additional call to HashFind() that should have been
HashLookOnly() and can potentially cause a crash.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user