mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Fix to new ext2spice code to prevent a crash condition when
multiple instances of a port name are present.
This commit is contained in:
@@ -1821,7 +1821,8 @@ topVisit(def, doStub)
|
||||
{
|
||||
hep = HashFind(&portNameTable, pname);
|
||||
HashSetValue(hep, (ClientData)(pointertype)nodeName->efnn_port);
|
||||
sorted_ports[portidx] = StrDup((char **)NULL, pname);
|
||||
if (sorted_ports[portidx] == NULL)
|
||||
sorted_ports[portidx] = StrDup((char **)NULL, pname);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user