[evolution-data-server] Bug 741434 - Use-after-free after error in GPG signature verification



commit e46c53c21291f7844c72ce964f1eaaa0397abbe2
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 742e943..0b694a7 100644
--- a/camel/camel-gpg-context.c
+++ b/camel/camel-gpg-context.c
@@ -1888,6 +1888,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]