Under some circumstanes sendmail can loop forever collecting input.

Fix uninitialized character to prevent it.

Should go into 2.2
This commit is contained in:
Andrey A. Chernov 1997-02-13 15:48:35 +00:00
parent f42b3f95de
commit 9be55567d0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22649

View File

@ -192,6 +192,7 @@ collect(fp, smtpmode, requeueflag, hdrp, e)
c = *--pbp;
else
{
c = EOF;
while (!feof(fp) && !ferror(fp))
{
errno = 0;