5
0
mirror of git://git.proxmox.com/git/spiceterm.git synced 2025-01-03 01:17:58 +03:00

ensure form fits in buf

yeah this is hacky, but we'll remove this probably anyway soon...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-03-21 13:28:35 +01:00
parent 79660a6545
commit 1a89d702e7

View File

@ -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");