freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-devel] [bug #51105] The script ganglia_ipmi_sensors.pl can bre


From: Albert Chu
Subject: [Freeipmi-devel] [bug #51105] The script ganglia_ipmi_sensors.pl can break your entire Ganglia with buggy IPMI servers
Date: Wed, 24 May 2017 14:40:41 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #1, bug #51105 (project freeipmi):

In principle a good idea.  Although I think it should output something to warn
the user.

    if ($id_string =~ /[\x00-\x1F]/) {
        print "something error message"
        next;
    }

Another alternate idea.  Perhaps the junk characters could be converted into
something readable?  Just spaces?  This would be great if the junk characters
are at the end of the string (i.e. vendor didn't NUL terminate whatever they
stuck in the firmware).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51105>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]