FreeBSD Bugzilla – Attachment 192968 Details for
Bug 227899
mail/opensmtpd: Backport smtp state machine bug fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Backported patch from upstream
opensmtpd-empty-body.patch (text/plain), 2.35 KB, created by
Michael Gmelin
on 2018-05-01 14:07:46 UTC
(
hide
)
Description:
Backported patch from upstream
Filename:
MIME Type:
Creator:
Michael Gmelin
Created:
2018-05-01 14:07:46 UTC
Size:
2.35 KB
patch
obsolete
>Index: mail/opensmtpd/Makefile >=================================================================== >--- mail/opensmtpd/Makefile (revision 468758) >+++ mail/opensmtpd/Makefile (working copy) >@@ -4,7 +4,7 @@ > PORTNAME= opensmtpd > PORTVERSION= 5.9.2p1 > PORTEPOCH= 1 >-PORTREVISION= 5 >+PORTREVISION= 6 > CATEGORIES= mail > MASTER_SITES= http://www.opensmtpd.org/archives/ \ > http://distfiles.pirateparty.in/ashish/ >Index: mail/opensmtpd/files/patch-smtpd-rfc2822.c >=================================================================== >--- mail/opensmtpd/files/patch-smtpd-rfc2822.c (nonexistent) >+++ mail/opensmtpd/files/patch-smtpd-rfc2822.c (working copy) >@@ -0,0 +1,19 @@ >+--- smtpd/rfc2822.c.orig 2018-05-01 13:33:10.000000000 +0000 >++++ smtpd/rfc2822.c 2018-05-01 13:34:47.931554000 +0000 >+@@ -53,4 +53,7 @@ >+ struct rfc2822_hdr_miss_cb *hdr_miss_cb; >++ >++ if (!rp->in_hdr) >++ goto end; >+ >+ TAILQ_FOREACH(hdr_cb, &rp->hdr_cb, next) >+ if (strcasecmp(hdr_cb->name, rp->header.name) == 0) { >+@@ -151,6 +152,8 @@ >+ return; >+ >+ header_callback(rp); >++ >++ missing_headers_callback(rp); >+ } >+ >+ void > >Property changes on: mail/opensmtpd/files/patch-smtpd-rfc2822.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: mail/opensmtpd/files/patch-smtpd-smtp_session.c >=================================================================== >--- mail/opensmtpd/files/patch-smtpd-smtp_session.c (nonexistent) >+++ mail/opensmtpd/files/patch-smtpd-smtp_session.c (working copy) >@@ -0,0 +1,11 @@ >+--- smtpd/smtp_session.c.orig 2018-05-01 13:35:00.375262000 +0000 >++++ smtpd/smtp_session.c 2018-05-01 13:37:22.637096000 +0000 >+@@ -1345,6 +1345,8 @@ >+ s->dataeom = 1; >+ if (iobuf_queued(&s->obuf) == 0) >+ smtp_data_io_done(s); >++ else >++ io_reload(&s->oev); >+ return; >+ } >+ > >Property changes on: mail/opensmtpd/files/patch-smtpd-smtp_session.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227899
: 192968