change strcpy to sprintf....
Index: lib/coroipcc.c
===================================================================
--- lib/coroipcc.c	(revision 1896)
+++ lib/coroipcc.c	(working copy)
@@ -304,7 +304,7 @@
 #if defined(COROSYNC_LINUX)
 	sprintf (address.sun_path + 1, "%s", socket_name);
 #else
-	strcpy (address.sun_path, "%s%s", SOCKETDIR, socket_name);
+	sprintf (address.sun_path, "%s%s", SOCKETDIR, socket_name);
 #endif
 	res = connect (request_fd, (struct sockaddr *)&address,
 		AIS_SUN_LEN(&address));
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to