Blame SOURCES/0007-ipmitool-1.8.11-remove-umask0.patch.patch

4e2c59
From 4ca58a30ef718975232231f1a5044554718b3404 Mon Sep 17 00:00:00 2001
4e2c59
From: Boris Ranto <branto@redhat.com>
4e2c59
Date: Fri, 6 Nov 2015 12:58:31 +0100
4e2c59
Subject: [PATCH 07/11] ipmitool-1.8.11-remove-umask0.patch
4e2c59
4e2c59
CVE-2011-4339 OpenIPMI: IPMI event daemon creates PID file with world
4e2c59
writeable permissions
4e2c59
4e2c59
Backported by: jsafrane
4e2c59
---
4e2c59
 lib/helper.c | 1 -
4e2c59
 1 file changed, 1 deletion(-)
4e2c59
4e2c59
diff --git a/lib/helper.c b/lib/helper.c
4e2c59
index d934fc0..998b2e6 100644
4e2c59
--- a/lib/helper.c
4e2c59
+++ b/lib/helper.c
4e2c59
@@ -658,7 +658,6 @@ ipmi_start_daemon(struct ipmi_intf *intf)
4e2c59
 #endif
4e2c59
 
4e2c59
 	chdir("/");
4e2c59
-	umask(0);
4e2c59
 
4e2c59
 	for (fd=0; fd<64; fd++) {
4e2c59
 		if (fd != intf->fd)
4e2c59
-- 
4e2c59
2.1.0
4e2c59