Package: ext4magic
Followup-For: Bug #854497
X-Debbugs-Cc: markusba...@users.sourceforge.net

Dear Maintainer,

the program segfaults with a similar backtrace during directory listing. I 
think the local_ext2fs_extent_free() function iterates one to far.
However, following the changes from the patch for Bug #802089 using the 
original ext2fs_extent_free() function here should be appropriate. It fixes it 
for me.


*** ext4magic-fix-segfault-extent-free.patch
--- ext4magic-0.3.2.orig/src/block.c
+++ ext4magic-0.3.2/src/block.c
@@ -699,7 +699,7 @@ errcode_t local_block_iterate3(ext2_fils
                mark_extent_block(fs, (char*) inode.i_block);
 
        extent_errout:
-               local_ext2fs_extent_free(handle);
+               ext2fs_extent_free(handle);
                ret |= BLOCK_ERROR | BLOCK_ABORT;
                goto errout;
        }

Reply via email to