public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: "Marek Grác" <marx@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: cluster: RHEL5 - fence_apc_snmp: #498952 - product is affected by symlink attack vulnerabilities Date: Thu, 21 May 2009 15:49:00 -0000 [thread overview] Message-ID: <20090521154928.6CDCA1201FA@lists.fedorahosted.org> (raw) Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=f1bd82c9796eaca11a785ff561f0f0b28aea09ae Commit: f1bd82c9796eaca11a785ff561f0f0b28aea09ae Parent: 3e1ebce12b502170b1de3332cb936da21630d980 Author: Marek 'marx' Grac <mgrac@redhat.com> AuthorDate: Thu May 21 17:46:27 2009 +0200 Committer: Marek 'marx' Grac <mgrac@redhat.com> CommitterDate: Thu May 21 17:46:27 2009 +0200 fence_apc_snmp: #498952 - product is affected by symlink attack vulnerabilities bugfix of previous patch --- fence/agents/apc_snmp/fence_apc_snmp.py | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/fence/agents/apc_snmp/fence_apc_snmp.py b/fence/agents/apc_snmp/fence_apc_snmp.py index c16825b..fb79054 100755 --- a/fence/agents/apc_snmp/fence_apc_snmp.py +++ b/fence/agents/apc_snmp/fence_apc_snmp.py @@ -41,10 +41,6 @@ POWER_REBOOT="outletReboot" # oid defining fence device oid_sysObjectID = '.1.3.6.1.2.1.1.2.0' -verbose_filename = "" - - - class SNMP: def __init__(self, params): self.hostname = params['ipaddr'] @@ -238,7 +234,7 @@ def usage(): file_log = None -def set_logging(verbose): +def set_logging(verbose, verbose_filename): global file_log if verbose: file_log = open(verbose_filename, 'a') @@ -326,7 +322,7 @@ def main2(): params[o] = a - set_logging(verbose) + set_logging(verbose, verbose_filename) ### validation ###
next reply other threads:[~2009-05-21 15:49 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-05-21 15:49 Marek Grác [this message] -- strict thread matches above, loose matches on Subject: below -- 2009-05-21 15:26 Marek Grác 2009-05-21 14:27 Marek Grác
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090521154928.6CDCA1201FA@lists.fedorahosted.org \ --to=marx@fedoraproject.org \ --cc=cluster-cvs-relay@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).