Blame SOURCES/mc-cpiosegfault.patch

e0224a
diff -up mc-4.8.7/src/vfs/cpio/cpio.c.cpiosegfault mc-4.8.7/src/vfs/cpio/cpio.c
e0224a
--- mc-4.8.7/src/vfs/cpio/cpio.c.cpiosegfault	2012-12-27 09:13:20.000000000 +0100
e0224a
+++ mc-4.8.7/src/vfs/cpio/cpio.c	2013-03-14 11:55:50.660147302 +0100
e0224a
@@ -795,7 +795,7 @@ cpio_super_same (const vfs_path_element_
e0224a
     g_free (archive_name);
e0224a
 
e0224a
     /* Has the cached archive been changed on the disk? */
e0224a
-    if (((cpio_super_data_t *) parc->data)->st.st_mtime < archive_stat->st_mtime)
e0224a
+    if (parc->data && ((cpio_super_data_t *) parc->data)->st.st_mtime < archive_stat->st_mtime)
e0224a
     {
e0224a
         /* Yes, reload! */
e0224a
         (*vfs_cpiofs_ops.free) ((vfsid) parc);