Hello community,

here is the log from the commit of package gnome-control-center for 
openSUSE:12.2 checked in at 2012-07-31 14:04:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2/gnome-control-center (Old)
 and      /work/SRC/openSUSE:12.2/.gnome-control-center.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-control-center", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:12.2/gnome-control-center/gnome-control-center.changes   
2012-07-02 10:49:17.000000000 +0200
+++ 
/work/SRC/openSUSE:12.2/.gnome-control-center.new/gnome-control-center.changes  
    2012-07-31 14:04:45.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Jul 18 06:04:12 UTC 2012 - [email protected]
+
+- Add gnome-control-center-probe-radius-server-cert.patch to probe
+  the certificate of the RADIUS server (bnc#574266, bnc#771185)
+- Add gnome-control-center-fix-crash-on-hidden-ssid.patch to fix
+  crash when the network panel receives a hidden ssid.
+
+-------------------------------------------------------------------

New:
----
  gnome-control-center-fix-crash-on-hidden-ssid.patch
  gnome-control-center-probe-radius-server-cert.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-control-center.spec ++++++
--- /var/tmp/diff_new_pack.ovIg5A/_old  2012-07-31 14:04:54.000000000 +0200
+++ /var/tmp/diff_new_pack.ovIg5A/_new  2012-07-31 14:04:54.000000000 +0200
@@ -39,6 +39,10 @@
 Patch14:        gnome-control-center-system-proxy-configuration.patch
 # PATCH-FIX-UPSTREAM gcc-private-connection.patch bnc#751211 bgo#646187 
[email protected] -- network: create private connections if the user if not 
authorized.
 Patch15:        gcc-private-connection.patch
+# PATCH-FIX-UPSTREAM gnome-control-center-probe-radius-server-cert.patch 
bnc#574266 [email protected] -- network: Probe the RADIUS server certificate
+Patch16:        gnome-control-center-probe-radius-server-cert.patch
+# PATCH-FIX-UPSTREAM gnome-control-center-fix-crash-on-hidden-ssid.patch 
[email protected] -- network: don't crash on hidden ssid
+Patch17:        gnome-control-center-fix-crash-on-hidden-ssid.patch
 BuildRequires:  cups-devel
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
@@ -162,6 +166,8 @@
 #NEEDS-REBASE
 #%patch14 -p1
 %patch15 -p1
+%patch16 -p1
+%patch17 -p1
 
 %if 0%{?BUILD_FROM_VCS}
 [ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh


++++++ gnome-control-center-fix-crash-on-hidden-ssid.patch ++++++
commit 8631717b3d1cb85bf21b0e0d648b784e8e7c3f8f
Author: Dan Williams <[email protected]>
Date:   Fri Apr 20 11:48:17 2012 -0500

    network: don't crash on hidden SSIDs
    
    APs that don't broadcast their SSID will return NULL from
    nm_access_point_get_ssid() (since that's easier to check in C
    using an if statement than returning a zero-length GByteArray).
    Thus the code shouldn't try to dereference the SSID byte array
    since it could be NULL.
    
    But in fact, the panel shouldn't be showing hidden APs anywhere
    in the UI, since the user needs to manually enter the SSID to
    connect to it anyway.  So just ignore hidden APs like nm-applet
    does.
    
    Signed-off-by: Dan Williams <[email protected]>
    Signed-off-by: Richard Hughes <[email protected]>

diff --git a/panels/network/cc-network-panel.c 
b/panels/network/cc-network-panel.c
index c8cbd78..d5ab951 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -1124,13 +1124,19 @@ panel_get_strongest_unique_aps (const GPtrArray *aps)
         if (aps != NULL)
                 for (i = 0; i < aps->len; i++) {
                         ap = NM_ACCESS_POINT (g_ptr_array_index (aps, i));
+
+                        /* Hidden SSIDs don't get shown in the list */
                         ssid = nm_access_point_get_ssid (ap);
+                        if (!ssid)
+                                continue;
+
                         add_ap = TRUE;
 
                         /* get already added list */
                         for (j=0; j<aps_unique->len; j++) {
                                 ap_tmp = NM_ACCESS_POINT (g_ptr_array_index 
(aps_unique, j));
                                 ssid_tmp = nm_access_point_get_ssid (ap_tmp);
+                                g_assert (ssid_tmp);
         
                                 /* is this the same type and data? */
                                 if (nm_utils_same_ssid (ssid, ssid_tmp, TRUE)) 
{
++++++ gnome-control-center-probe-radius-server-cert.patch ++++++
diff --git a/panels/network/network-dialogs.c b/panels/network/network-dialogs.c
index 0e5aae1..43fc119 100644
--- a/panels/network/network-dialogs.c
+++ b/panels/network/network-dialogs.c
@@ -153,6 +153,11 @@ wireless_dialog_response_cb (GtkDialog *foo,
        g_assert (connection);
        g_assert (device);
 
+        if (nma_wireless_dialog_need_cert_probe (dialog)) {
+                nma_wireless_dialog_probe_cert (dialog);
+                return;
+        }
+
        /* Find a similar connection and use that instead */
        all = nm_remote_settings_list_connections (closure->settings);
        for (iter = all; iter; iter = g_slist_next (iter)) {
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to