LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File encfs_wrapper.diff of Package Cryptkeeper (Project home:nobange)

--- cryptkeeper-0.9.5/src/encfs_wrapper_.cpp	2008-11-22 23:36:44.000000000 +0530
+++ cryptkeeper-0.9.5/src/encfs_wrapper.cpp	2011-01-26 17:52:22.000000000 +0530
@@ -46,6 +46,7 @@
 		struct mntent *m = getmntent(f);
 		if (!m) break;
  		mnt_dir_expanded = realpath(m->mnt_dir, NULL);
+        if (mnt_dir_expanded)
  		if (strcmp(mount_dir_expanded, mnt_dir_expanded)==0) {
 			free(mnt_dir_expanded);
  			return true;