[gnome-control-center] network: a segfault was introduced when assigning to args.
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: a segfault was introduced when assigning to args.
- Date: Fri, 9 Sep 2011 18:12:55 +0000 (UTC)
commit 961fe7b4967f4ef2b9d0171d1ce7a516c983b589
Author: Alban Browaeys <prahal yahoo com>
Date: Fri Sep 9 19:51:27 2011 +0200
network: a segfault was introduced when assigning to args.
Instead of assign a potential null to args it was assigned to **args
(which is uninitialized at this point).
Fix commit 72b9db71c84698f9ba0be0ba2a36b60074fa9a35
https://bugzilla.gnome.org/show_bug.cgi?id=658670
panels/network/cc-network-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 0ec37f2..4841edf 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -160,7 +160,7 @@ cc_network_panel_set_property (GObject *object,
g_free (priv->arg_access_point);
priv->arg_access_point = NULL;
- **args = g_value_get_boxed (value);
+ args = g_value_get_boxed (value);
if (args) {
g_debug ("Invoked with operation %s", args[0]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]