[git] GpgOL - branch, async-enc, updated. gpgol-2.0.6-46-g325b905
by Andre Heinecke
cvs at cvs.gnupg.org
Thu Feb 22 10:41:43 CET 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG extension for MS Outlook".
The branch, async-enc has been updated
via 325b90573a184b65bf1d66e5f6f0eebeb9f0d6ea (commit)
from 0853344d1dcf520ea657d7208661214f69b59dad (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 325b90573a184b65bf1d66e5f6f0eebeb9f0d6ea
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Thu Feb 22 10:40:58 2018 +0100
Fix WKS-Confirm mail detection
* src/mapihelp.cpp (mapi_get_message_content_type): Comparing
an empty line would result in wks confirm detection.
diff --git a/src/mapihelp.cpp b/src/mapihelp.cpp
index 5ff9ad1..4647ee1 100644
--- a/src/mapihelp.cpp
+++ b/src/mapihelp.cpp
@@ -3060,7 +3060,8 @@ mapi_get_message_content_type (LPMESSAGE message,
if (length && s[-1] == '\r')
length--;
- if (!strncmp ("Wks-Phase: confirm", header_lines, length))
+ if (!strncmp ("Wks-Phase: confirm", header_lines,
+ std::max (18, (int) length)))
{
log_debug ("%s:%s: detected wks confirmation mail",
SRCNAME, __func__);
-----------------------------------------------------------------------
Summary of changes:
src/mapihelp.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
GnuPG extension for MS Outlook
http://git.gnupg.org
More information about the Gnupg-commits
mailing list