mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 12:19:30 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22649
@ -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