mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user