strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7d04ba
)
nm: Fix NULL-pointer dereference when handling TUN device failure
author
Tobias Brunner
<tobias@strongswan.org>
Wed, 9 Apr 2014 14:35:46 +0000
(16:35 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Wed, 9 Apr 2014 14:35:46 +0000
(16:35 +0200)
src/charon-nm/nm/nm_service.c
patch
|
blob
|
history
diff --git
a/src/charon-nm/nm/nm_service.c
b/src/charon-nm/nm/nm_service.c
index
3ee885a
..
67366a0
100644
(file)
--- a/
src/charon-nm/nm/nm_service.c
+++ b/
src/charon-nm/nm/nm_service.c
@@
-329,7
+329,6
@@
static gboolean connect_(NMVPNPlugin *plugin, NMConnection *connection,
{
g_set_error(err, NM_VPN_PLUGIN_ERROR, NM_VPN_PLUGIN_ERROR_LAUNCH_FAILED,
"Failed to create dummy TUN device.");
- gateway->destroy(gateway);
return FALSE;
}
address = nm_setting_vpn_get_data_item(vpn, "address");