ipmi plugin: Fix an off-by-one error.
authorPeter Holik <holik@it-technology.at>
Thu, 19 Feb 2009 12:00:59 +0000 (13:00 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Thu, 19 Feb 2009 12:00:59 +0000 (13:00 +0100)
commit8968a5cccc0729d7438df22260eee6ce5536cd0a
tree14eafedc6d7c83544eaaf12998cd027704da191f
parent7c8fb05fcb919fb2d9fc68757c198916396600ce
ipmi plugin: Fix an off-by-one error.

Hi,

One of my ipmi sensors has a name longer than DATA_MAX_NAME_LEN and this
results in a SEGV.

cu Peter
src/ipmi.c