[exim-dev] [Bug 1974] Handle missing final CRLF in chunked/B…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: admin
Data:  
Para: exim-dev
Temas antigos: [exim-dev] [Bug 1974] New: Handle missing final CRLF in chunked/BDAT transferred messages, resulting in a missing final LF in spool files
Asunto: [exim-dev] [Bug 1974] Handle missing final CRLF in chunked/BDAT transferred messages, resulting in a missing final LF in spool files
https://bugs.exim.org/show_bug.cgi?id=1974

--- Comment #12 from Git Commit <git@???> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/7242147951e127e0db14f9edc070251e110fedea

commit 7242147951e127e0db14f9edc070251e110fedea
Author:     Heiko Schlittermann (HS12-RIPE) <hs@???>
AuthorDate: Fri Apr 30 10:47:45 2021 +0200
Commit:     Heiko Schlittermann (HS12-RIPE) <hs@???>
CommitDate: Thu May 27 21:31:03 2021 +0200


    Fix BDAT issue for body w/o trailing CRLF (again Bug 1974)


    (cherry picked from commit 919111edac911ba9c15422eafd7c5bf14d416d26)
---
 src/src/smtp_in.c | 1 +
 1 file changed, 1 insertion(+)


diff --git a/src/src/smtp_in.c b/src/src/smtp_in.c
index 647c231..8e9b93a 100644
--- a/src/src/smtp_in.c
+++ b/src/src/smtp_in.c
@@ -843,6 +843,7 @@ int
bdat_ungetc(int ch)
{
chunking_data_left++;
+bdat_push_receive_functions(); /* we're not done yet, calling push is safe,
because it checks the state before pushing anything */
return lwr_receive_ungetc(ch);
}

--
You are receiving this mail because:
You are on the CC list for the bug.