[evolution-data-server/evolution-data-server-3-12] Bug 741434 -	Use-after-free after error in GPG signature verification
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [evolution-data-server/evolution-data-server-3-12] Bug 741434 -	Use-after-free after error in GPG signature verification
- Date: Fri, 12 Dec 2014 13:13:36 +0000 (UTC)
commit 234791233b71ae24d020ec5379069f5dd8c1f15d
Author: Milan Crha <mcrha redhat com>
Date:   Fri Dec 12 14:11:04 2014 +0100
    Bug 741434 - Use-after-free after error in GPG signature verification
 camel/camel-gpg-context.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-gpg-context.c b/camel/camel-gpg-context.c
index 8c3104b..ea2cb84 100644
--- a/camel/camel-gpg-context.c
+++ b/camel/camel-gpg-context.c
@@ -1889,6 +1889,7 @@ gpg_verify_sync (CamelCipherContext *context,
 
        g_object_unref (filter);
        g_object_unref (istream);
+       istream = NULL;
 
        g_seekable_seek (G_SEEKABLE (canon_stream), 0, G_SEEK_SET, NULL, NULL);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]