summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2021-04-30 10:47:45 +0200
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2021-05-27 21:31:03 +0200
commit7242147951e127e0db14f9edc070251e110fedea (patch)
tree588b31ed9b8aaf8a267cecb9ff9586cd63cf4927
parente23341ecd1efcf6339ae9458c4612357775dc286 (diff)
Fix BDAT issue for body w/o trailing CRLF (again Bug 1974)
(cherry picked from commit 919111edac911ba9c15422eafd7c5bf14d416d26)
-rw-r--r--src/src/smtp_in.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/smtp_in.c b/src/src/smtp_in.c
index 647c231c7..8e9b93ab3 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);
}