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:
Tim Edwards 2023-09-25 14:18:21 -04:00
parent f1e60fe8b1
commit b244d45688
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
8.3.432
8.3.433

View File

@ -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);