From: Thomas Lamprecht Date: Thu, 21 Mar 2019 12:28:35 +0000 (+0100) Subject: ensure form fits in buf X-Git-Url: https://git.proxmox.com/?p=spiceterm.git;a=commitdiff_plain;h=1a89d702e7924273d8cf3f80e7a65ddac45b7304 ensure form fits in buf yeah this is hacky, but we'll remove this probably anyway soon... Signed-off-by: Thomas Lamprecht --- 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");