naemon / naemon-livestatus

Naemon - Livestatus Eventbroker Module
GNU General Public License v2.0
27 stars 30 forks source link

fix segfault when parsing incomplete log entries (fixes #54) #57

Closed sni closed 5 years ago

sni commented 5 years ago

parsing incomplete log entries (for example when disk runs full) may result in segfaults because livestatus assumes the state field to be at least one byte long. This patch adds a check for that.

Signed-off-by: Sven Nierlein sven@nierlein.de