NetworkManager/shared
Jan Alexander Steffens (heftig) 76207194d1 shared/compat: Fix memory handling of nm_setting_vpn_get_*_keys (v2)
The compat implementations return a (transfer none) strv instead of a
(transfer container) one. This has caused double frees in nm-applet:
https://bugs.archlinux.org/task/56772

We still need to copy the keys because nm_setting_vpn_foreach_* provides
us with copies that are freed after the iteration.

Fix this by handing out a duplicate of the array.

Fixes: 272439cb20

https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00070.html
2017-12-22 15:53:05 +01:00
..
nm-utils shared/compat: Fix memory handling of nm_setting_vpn_get_*_keys (v2) 2017-12-22 15:53:05 +01:00
meson.build build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
nm-common-macros.h manager: add connectivity-check-{available,enabled} properties. 2017-08-17 22:31:47 +02:00
nm-dbus-compat.h build: rename directory "include" to "shared" 2015-12-24 11:42:37 +01:00
nm-default.h all: include "nm-utils/nm-hash-utils.h" by default 2017-11-16 11:49:51 +01:00
nm-dispatcher-api.h build: cleanup src/Makefile.am 2016-08-11 11:54:18 +02:00
nm-meta-setting.c clients: add tc qdisc support 2017-12-11 10:52:23 +01:00
nm-meta-setting.h clients: add tc qdisc support 2017-12-11 10:52:23 +01:00
nm-test-libnm-utils.h shared: move shared files to subdirectory "shared/nm-utils/" 2016-06-16 10:45:53 +02:00
nm-test-utils-impl.c all: use nm_close() instead of close() 2017-11-14 15:10:42 +01:00
nm-version-macros.h.in shared: update version macros for 1.11 2017-11-03 17:05:04 +01:00