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:
parent
f42b3f95de
commit
9be55567d0
@ -192,6 +192,7 @@ collect(fp, smtpmode, requeueflag, hdrp, e)
|
||||
c = *--pbp;
|
||||
else
|
||||
{
|
||||
c = EOF;
|
||||
while (!feof(fp) && !ferror(fp))
|
||||
{
|
||||
errno = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user