From b244d45688b77cb8aab1680eca27f1381802cd02 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Mon, 25 Sep 2023 14:18:21 -0400 Subject: [PATCH] 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. --- VERSION | 2 +- extflat/EFvisit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 2dd3bc56..01036633 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.432 +8.3.433 diff --git a/extflat/EFvisit.c b/extflat/EFvisit.c index 0116fe6a..e28b7135 100644 --- a/extflat/EFvisit.c +++ b/extflat/EFvisit.c @@ -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);