diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-07-22 15:14:42 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-07-23 09:45:53 +0700 |
commit | d4c9d934e1b5ca00471a7aab1b532a4c4caaef71 (patch) | |
tree | bc09d610af7dbed57a9ed250a64367bd1d492dd6 /system/ipmitool/patches/0001-CVE-2011-4339-OpenIPMI.patch | |
parent | 1b75dc275d130abf0c6fe11e4d4ccce087dc7c0a (diff) |
system/ipmitool: Add many patches from fedora.
Fix build with gcc >= 10.x (thanks, Daedra!)
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ipmitool/patches/0001-CVE-2011-4339-OpenIPMI.patch')
-rw-r--r-- | system/ipmitool/patches/0001-CVE-2011-4339-OpenIPMI.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/system/ipmitool/patches/0001-CVE-2011-4339-OpenIPMI.patch b/system/ipmitool/patches/0001-CVE-2011-4339-OpenIPMI.patch new file mode 100644 index 000000000000..437c9adaf9c8 --- /dev/null +++ b/system/ipmitool/patches/0001-CVE-2011-4339-OpenIPMI.patch @@ -0,0 +1,25 @@ +From 152efd46931a70ab4e3d81e99d312df7dcd666e6 Mon Sep 17 00:00:00 2001 +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 +index de91438..c3a1c80 100644 +--- a/lib/helper.c ++++ b/lib/helper.c +@@ -829,7 +829,6 @@ ipmi_start_daemon(struct ipmi_intf *intf) + #endif + + chdir("/"); +- umask(0); + + for (fd=0; fd<64; fd++) { + if (fd != intf->fd) +-- +2.7.4 + |