This fixes the potential buffer overflow that was also present in Nagios (CVE-2012-6096).
checkconfig':