Commit edf24cc3 authored by Matthew Barnes's avatar Matthew Barnes
Browse files

Bug 703991: Crash when using -fstack-protector-strong.

We were using g_object_get() to write an "unsigned int" value (at least
32 bits) into a 16-bit integer address.

Don't know why we were bothering with g_object_get() in the first place,
just call camel_network_settings_get_port() instead.
parent 8815dac4
......@@ -238,8 +238,8 @@ mail_config_smtp_backend_insert_widgets (EMailConfigServiceBackend *backend,
priv->user_entry = widget; /* do not reference */
gtk_widget_show (widget);
port = 0;
g_object_get (G_OBJECT (settings), "port", &port, NULL);
port = camel_network_settings_get_port (
g_object_bind_property (
settings, "host",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment