From 1a89d702e7924273d8cf3f80e7a65ddac45b7304 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 21 Mar 2019 13:28:35 +0100 Subject: [PATCH] ensure form fits in buf yeah this is hacky, but we'll remove this probably anyway soon... Signed-off-by: Thomas Lamprecht --- auth-pve.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth-pve.c b/auth-pve.c index d41f8bd..797c690 100644 --- a/auth-pve.c +++ b/auth-pve.c @@ -74,8 +74,8 @@ pve_auth_verify(const char *clientip, const char *username, const char *passwd) goto err; } - char buf[8192]; - char form[8192]; + char buf[8292]; + char form[8092]; char *p = form; p = urlencode(p, "username");