Fixed an error that causes magic to segfault when doing "def write"
on a layout that is caused by either having no .ext file, having labels attached to space, or possibly both.
This commit is contained in:
parent
f1e60fe8b1
commit
b244d45688
|
|
@ -681,7 +681,7 @@ EFVisitNodes(nodeProc, cdata)
|
|||
int res;
|
||||
|
||||
for (node = (EFNode *) efNodeList.efnode_next;
|
||||
node != &efNodeList;
|
||||
node && (node != &efNodeList);
|
||||
node = (EFNode *) node->efnode_next)
|
||||
{
|
||||
res = EFNodeResist(node);
|
||||
|
|
|
|||
Loading…
Reference in New Issue