Gitweb:
https://git.exim.org/exim.git/commitdiff/7242147951e127e0db14f9edc070251e110fedea
Commit: 7242147951e127e0db14f9edc070251e110fedea
Parent: e23341ecd1efcf6339ae9458c4612357775dc286
Author: Heiko Schlittermann (HS12-RIPE) <hs@???>
AuthorDate: Fri Apr 30 10:47:45 2021 +0200
Committer: 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);
}