Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > e51635675f923431aca84a49c6849820 > files > 6

heartbeat-1.2.3-5.2.20060mdk.src.rpm

--- heartbeat-1.2.3/heartbeat/heartbeat.c.cve-2006-3815	2006-07-25 12:17:07.880169288 -0600
+++ heartbeat-1.2.3/heartbeat/heartbeat.c	2006-07-25 12:17:07.881169237 -0600
@@ -471,7 +471,7 @@
 	int	ipcid;
 	struct pstat_shm *	shm;
 
-	if ((ipcid = shmget(IPC_PRIVATE, sizeof(*procinfo), 0666)) < 0) {
+	if ((ipcid = shmget(IPC_PRIVATE, sizeof(*procinfo), 0600)) < 0) {
 		cl_perror("Cannot shmget for process status");
 		return;
 	}