[evolution] Bug #705814 - Crash in certificate_viewer_new()



commit 9b44f89c94e9d1555a529508bf86f7a3dae713f5
Author: Milan Crha <mcrha redhat com>
Date:   Mon Aug 12 09:06:55 2013 +0200

    Bug #705814 - Crash in certificate_viewer_new()

 smime/gui/certificate-viewer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/smime/gui/certificate-viewer.c b/smime/gui/certificate-viewer.c
index 4fdd15e..399569d 100644
--- a/smime/gui/certificate-viewer.c
+++ b/smime/gui/certificate-viewer.c
@@ -538,7 +538,7 @@ get_window_title (CERTCertificate *cert)
                return title;
        }
 
-       return cert->subjectName;
+       return g_strdup (cert->subjectName);
 }
 
 GtkWidget *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]