Hello,

Attached patch fixes SEGV caused by double dlclose() on
libreiserfs_handle if libreiserfs failed interface version check.


-- 
Jakub Bogusz    http://qboosh.pl/
--- parted-1.7.1/libparted/fs/reiserfs/reiserfs.c.orig  2005-11-11 
13:35:30.000000000 +0100
+++ parted-1.7.1/libparted/fs/reiserfs/reiserfs.c       2005-11-26 
23:05:42.000000000 +0100
@@ -771,6 +771,7 @@
 
 error_free_libreiserfs_handle:
        dlclose(libreiserfs_handle);
+       libreiserfs_handle = NULL;
 error:
        return 0;
 }
_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to