[git] GpgOL - branch, master, updated. gpgol-1.3.0-44-g4aadd33
by Andre Heinecke
cvs at cvs.gnupg.org
Mon Jan 4 16:25:27 CET 2016
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, master has been updated
via 4aadd33407535b83b04c62c0cd79c7ca2f0d2ebd (commit)
from c3b6b357bb4636ec76fa5c7b499e1e9f99083c06 (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 4aadd33407535b83b04c62c0cd79c7ca2f0d2ebd
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Mon Jan 4 16:23:46 2016 +0100
Fix crash when using Exchange Active Sync
* src/mapihelp.cpp (get_msgcls_from_pgp_lines): Do not crash when
internetcharsetbody_tag is not available.
--
In this case the function previously dereferenced the uninitialized
stream pointer.
diff --git a/src/mapihelp.cpp b/src/mapihelp.cpp
index d4d5730..1b04af8 100644
--- a/src/mapihelp.cpp
+++ b/src/mapihelp.cpp
@@ -563,6 +563,12 @@ get_msgcls_from_pgp_lines (LPMESSAGE message)
if (!hr)
is_binary = 1;
}
+ else
+ {
+ log_debug ("%s:%s: Failed to get body tag.",
+ SRCNAME, __func__);
+ return NULL;
+ }
if (hr)
{
tag = PR_BODY;
@@ -575,7 +581,7 @@ get_msgcls_from_pgp_lines (LPMESSAGE message)
SRCNAME, __func__, tag, hr);
return NULL;
}
-
+
hr = stream->Stat (&statInfo, STATFLAG_NONAME);
if (hr)
{
-----------------------------------------------------------------------
Summary of changes:
src/mapihelp.cpp | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
hooks/post-receive
--
GnuPG extension for MS Outlook
http://git.gnupg.org
More information about the Gnupg-commits
mailing list