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/


_______________________________________________
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/freeipmi-devel

Reply via email to