Prepare NMU to fix crash in wifi-dialog.

Signed-off-by: Boyuan Yang's avatarBoyuan Yang <byang@debian.org>
parent f44c31ea
network-manager-applet (1.8.20-1.1) unstable; urgency=medium
* Non-maintainer upload.
* Fix crash on creating custom Wi-Fi connection in wifi-dialog.
(Closes: #926328)
-- Boyuan Yang <byang@debian.org> Fri, 19 Apr 2019 13:27:26 -0400
network-manager-applet (1.8.20-1) unstable; urgency=medium
* New upstream version 1.8.20
......
From: Boyuan Yang <byang@debian.org>
Date: Fri, 19 Apr 2019 12:27:33 -0400
Subject: Fix double-free crashing in wifi-dialog
The nm-applet tool would crash every time a Wi-Fi connection
is created manually. This patch fixes this problem.
This issue will be fixed in the upcoming network-manager-applet
1.8.22 release.
Applied-Upstream: https://gitlab.gnome.org/GNOME/network-manager-applet/commit/b4c365b136e25e69c3550a9984f8f3cbec4bc073
Forwarded: https://gitlab.gnome.org/GNOME/network-manager-applet/issues/43
Bug-Debian: https://bugs.debian.org/926328
Signed-off-by: Boyuan Yang <byang@debian.org>
---
src/libnma/nma-wifi-dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libnma/nma-wifi-dialog.c b/src/libnma/nma-wifi-dialog.c
index 009bf44..a90b20d 100644
--- a/src/libnma/nma-wifi-dialog.c
+++ b/src/libnma/nma-wifi-dialog.c
@@ -1260,7 +1260,7 @@ nma_wifi_dialog_get_connection (NMAWifiDialog *self,
s_wireless = (NMSettingWireless *) nm_setting_wireless_new ();
ssid = validate_dialog_ssid (self);
g_object_set (s_wireless, NM_SETTING_WIRELESS_SSID, ssid, NULL);
- g_free (ssid);
+ g_bytes_unref (ssid);
if (priv->operation == OP_CREATE_ADHOC) {
NMSetting *s_ip4;
Allow-creation-of-connections-without-admin-privileges.patch
Force-online-state-with-unmanaged-devices.patch
Fix-double-free-crashing-in-wifi-dialog.patch
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