diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-11-19 18:07:52 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-11-19 18:07:52 +0000 |
commit | 7bb9f5aa043b30295e981df172f7c9251d248769 (patch) | |
tree | 4bf2a5bd4a6d82092646cb2c0d3f247d2456e4b7 /misc.c | |
parent | Added --tcp-nodelay option: Macro that sets TCP_NODELAY socket (diff) | |
download | openvpn-7bb9f5aa043b30295e981df172f7c9251d248769.tar.xz |
Fixed issue introduced in 2.1_rc14 that may cause a
segfault when a --plugin module is used.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3524 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1863,8 +1863,8 @@ argv_clone (const struct argv *a, const size_t headroom) { for (i = 0; i < a->argc; ++i) argv_append (&r, string_alloc (a->argv[i], NULL)); + r.system_str = string_alloc (a->system_str, NULL); } - r.system_str = string_alloc (a->system_str, NULL); return r; } |