summaryrefslogtreecommitdiff
path: root/src/openvpn/init.c
diff options
context:
space:
mode:
authorBernhard Schmidt <berni@debian.org>2020-09-01 16:53:32 +0200
committerBernhard Schmidt <berni@debian.org>2020-09-01 16:53:32 +0200
commit886dccf631de661ea1b4c8017de98b88b93d7f1c (patch)
tree2f74f9b3f93a35591ffdb305e3e2876cbb9a0c1d /src/openvpn/init.c
parent9ce71e1c58a83737b045861173254911fda9a76a (diff)
parent57f0b7b331088e489e93ae89ee0aed98381d8806 (diff)
Update upstream source from tag 'upstream/2.5_beta3'
Update to upstream version '2.5~beta3' with Debian dir 08bf4b8b33e73a97458e7fd53ec989aa541745cd
Diffstat (limited to 'src/openvpn/init.c')
-rw-r--r--src/openvpn/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/init.c b/src/openvpn/init.c
index dfa045b..a785934 100644
--- a/src/openvpn/init.c
+++ b/src/openvpn/init.c
@@ -312,7 +312,7 @@ management_callback_send_cc_message(void *arg,
const char *parameters)
{
struct context *c = (struct context *) arg;
- size_t len = strlen(command) + 1 + sizeof(parameters) + 1;
+ size_t len = strlen(command) + 1 + strlen(parameters) + 1;
if (len > PUSH_BUNDLE_SIZE)
{
return false;