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

View File

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