From: Tobias Brunner Date: Thu, 7 Nov 2013 19:56:30 +0000 (+0100) Subject: updown: Increase buffer size for script and environment variables X-Git-Tag: 5.1.2rc1~44^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e3bbcf77a27627455ef67c433fc70e5fd0f70e3;p=thirdparty%2Fstrongswan.git updown: Increase buffer size for script and environment variables --- diff --git a/src/libcharon/plugins/updown/updown_listener.c b/src/libcharon/plugins/updown/updown_listener.c index e62309760c..2c3f932983 100644 --- a/src/libcharon/plugins/updown/updown_listener.c +++ b/src/libcharon/plugins/updown/updown_listener.c @@ -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;