--- nagios-4.4.6/html/includes/utils.inc.php.orig 2021-02-06 10:41:47.087041000 -0800
+++ nagios-4.4.6/html/includes/utils.inc.php 2021-02-06 10:57:43.202715000 -0800
@@ -212,6 +212,8 @@
// read all lines in the config file
while(!feof($fh)){
$s=fgets($fh);
+ if($s==FALSE)
+ continue;
// skip comments
if($s[0]=='#')
@@ -491,4 +493,4 @@
return $contents;
}
-?>
\ No newline at end of file
+?>