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.
This commit is contained in:
Tim Edwards 2019-10-02 12:59:10 -04:00
parent 798e87deaf
commit 000dab40e3
1 changed files with 1 additions and 1 deletions

View File

@ -1586,7 +1586,7 @@ esMakePorts(hc, cdata)
is_array = FALSE; is_array = FALSE;
if (aptr != NULL) if (aptr != NULL)
{ {
he = HashFind(&updef->def_uses, portname); he = HashLookOnly(&updef->def_uses, portname);
if (he == NULL) if (he == NULL)
{ {
*aptr = '\0'; *aptr = '\0';