1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00

core: fix too small buffer for encoded base64 string used to authenticate with http proxy

This commit is contained in:
Sebastien Helleu
2011-08-12 12:09:57 +02:00
parent fab23f8bc4
commit d80706b5f0
+1 -1
View File
@@ -142,7 +142,7 @@ int
network_pass_httpproxy (struct t_proxy *proxy, int sock, const char *address,
int port)
{
char buffer[256], authbuf[128], authbuf_base64[196];
char buffer[256], authbuf[128], authbuf_base64[512];
int n, m;
if (CONFIG_STRING(proxy->options[PROXY_OPTION_USERNAME])