Blame SOURCES/ecryptfs-utils-87-memcpyfix.patch

cac1ea
diff -up ecryptfs-utils-103/src/utils/mount.ecryptfs.c.memcpyfix ecryptfs-utils-103/src/utils/mount.ecryptfs.c
cac1ea
--- ecryptfs-utils-103/src/utils/mount.ecryptfs.c.memcpyfix	2012-07-13 16:50:29.000000000 +0200
cac1ea
+++ ecryptfs-utils-103/src/utils/mount.ecryptfs.c	2013-01-28 17:22:53.769462509 +0100
cac1ea
@@ -355,7 +355,7 @@ static int opts_str_contains_option(char
bbbcbd
 			*end = '\0';
bbbcbd
 			break;
bbbcbd
 		}
bbbcbd
-		memcpy(opt, next_opt, end - next_opt);
bbbcbd
+		memmove(opt, next_opt, end - next_opt);
bbbcbd
 		end = end - (next_opt - opt);
bbbcbd
 		*end = '\0';
bbbcbd
 	}