2016-10-10 08:48:32 +00:00
|
|
|
From 152efd46931a70ab4e3d81e99d312df7dcd666e6 Mon Sep 17 00:00:00 2001
|
2016-05-10 17:08:08 +00:00
|
|
|
From: Boris Ranto <branto@redhat.com>
|
|
|
|
Date: Tue, 10 May 2016 19:12:08 +0200
|
|
|
|
Subject: [PATCH] CVE-2011-4339 OpenIPMI
|
|
|
|
|
|
|
|
IPMI event daemon creates PID file with world writeable permissions
|
|
|
|
---
|
|
|
|
lib/helper.c | 1 -
|
|
|
|
1 file changed, 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/lib/helper.c b/lib/helper.c
|
2016-10-10 08:48:32 +00:00
|
|
|
index de91438..c3a1c80 100644
|
2016-05-10 17:08:08 +00:00
|
|
|
--- a/lib/helper.c
|
|
|
|
+++ b/lib/helper.c
|
2016-10-10 08:48:32 +00:00
|
|
|
@@ -829,7 +829,6 @@ ipmi_start_daemon(struct ipmi_intf *intf)
|
2016-05-10 17:08:08 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
chdir("/");
|
|
|
|
- umask(0);
|
|
|
|
|
|
|
|
for (fd=0; fd<64; fd++) {
|
|
|
|
if (fd != intf->fd)
|
|
|
|
--
|
2016-10-10 08:48:32 +00:00
|
|
|
2.7.4
|
2016-05-10 17:08:08 +00:00
|
|
|
|