git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
97dbb3d
)
DKIM: fix crash in verify under chunking
author
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 16 Sep 2024 10:31:12 +0000
(11:31 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 16 Sep 2024 10:31:16 +0000
(11:31 +0100)
Broken-by: 9a0f997bac85
src/src/miscmods/dkim.c
patch
|
blob
|
history
diff --git
a/src/src/miscmods/dkim.c
b/src/src/miscmods/dkim.c
index a2a8faba8360aefae3ed1aeb9057e9308f938fc8..bd1625187744728fd9039c44ccc17d8f770f8862 100644
(file)
--- a/
src/src/miscmods/dkim.c
+++ b/
src/src/miscmods/dkim.c
@@
-256,7
+256,7
@@
dkim_exim_verify_feed(const uschar * data, unsigned len)
int rc;
store_pool = POOL_MESSAGE;
-if (
(dkim_collect_input || !data)
+if (
dkim_collect_input
&& (rc = pdkim_feed(dkim_verify_ctx, data, len)) != PDKIM_OK)
{
dkim_collect_error = pdkim_errstr(rc);