]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
updown: Increase buffer size for script and environment variables
authorTobias Brunner <tobias@strongswan.org>
Thu, 7 Nov 2013 19:56:30 +0000 (20:56 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 23 Jan 2014 09:27:12 +0000 (10:27 +0100)
src/libcharon/plugins/updown/updown_listener.c

index e62309760c58f82d91737ef1460bc2948fc91e69..2c3f932983d87b067c3f33a631755ceaff28b70c 100644 (file)
@@ -219,7 +219,7 @@ METHOD(listener_t, child_updown, bool,
        enumerator = child_sa->create_policy_enumerator(child_sa);
        while (enumerator->enumerate(enumerator, &my_ts, &other_ts))
        {
-               char command[1024];
+               char command[2048];
                host_t *my_client, *other_client;
                u_int8_t my_client_mask, other_client_mask;
                char *virtual_ip, *iface, *mark_in, *mark_out, *udp_enc, *dns, *xauth;