If you execute "fuse-zip -V" it prints the version and then dumps core. This is 
because fuse-zip does not initialise the mount point pointer to NULL. This 
patch ensures that it's always initialised to NULL.

Index: fuse.c
===================================================================
RCS file: /cvs/src/lib/libfuse/fuse.c,v
retrieving revision 1.29
diff -u -p -u -p -r1.29 fuse.c
--- fuse.c      21 Aug 2017 21:41:13 -0000      1.29
+++ fuse.c      17 Oct 2017 15:21:05 -0000
@@ -468,6 +468,7 @@ fuse_setup(int argc, char **argv, const 
        struct fuse *fuse;
        int fg;
 
+       *mp = NULL;
        if (fuse_parse_cmdline(&args, mp, mt, &fg))
                goto err;
 

Reply via email to