[evolution/gnome-3-8] Bug 704558 - Crash when using -fstack-protector-strong



commit bdf71f5898fd79f16f56f16d55322f31dc58cf6e
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jul 20 09:39:38 2013 -0400

    Bug 704558 - Crash when using -fstack-protector-strong
    
    Same issue as in bug 703991, just in a different place.
    
    (cherry picked from commit 37965cf2cf59f9c741e1c8ae1001b2bf0ea407e0)

 e-util/e-source-config.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-source-config.c b/e-util/e-source-config.c
index 3d9303a..6a4f2dd 100644
--- a/e-util/e-source-config.c
+++ b/e-util/e-source-config.c
@@ -1342,7 +1342,9 @@ secure_to_port_cb (GBinding *binding,
        guint16 port;
 
        authentication_extension = g_binding_get_target (binding);
-       g_object_get (authentication_extension, "port", &port, NULL);
+
+       port = e_source_authentication_get_port (
+               E_SOURCE_AUTHENTICATION (authentication_extension));
 
        if (port == 80 || port == 443 || port == 0)
                port = g_value_get_boolean (source_value) ? 443 : 80;


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