Merge pull request #8227 from annando/daemon-checks

Daemon: Added check for empty data
This commit is contained in:
Tobias Diekershoff
2020-02-03 06:26:13 +01:00
committed by GitHub
+5
View File
@@ -73,6 +73,11 @@ class ExAuth
}
$iHeader = fgets(STDIN, 3);
if (empty($iHeader)) {
$this->writeLog(LOG_ERR, 'empty stdin');
return;
}
$aLength = unpack('n', $iHeader);
$iLength = $aLength['1'];