Made another correction to the recent change in ext2spice.c where
an out-of-bounds array access occurs that can cause bad output at best and a crash condition at worst.
This commit is contained in:
parent
15f081b4da
commit
6b1365708d
|
|
@ -1803,6 +1803,7 @@ topVisit(def, doStub)
|
|||
for (nodeName = sname; nodeName != NULL; nodeName = nodeName->efnn_next)
|
||||
{
|
||||
portidx = nodeName->efnn_port;
|
||||
if (portidx < 0) continue;
|
||||
|
||||
/* If view is abstract, rely on the given port name, not
|
||||
* the node. Otherwise, artifacts of the abstract view
|
||||
|
|
|
|||
Loading…
Reference in New Issue