summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-08-12 12:09:57 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-08-12 12:09:57 +0200
commitd80706b5f0e79e4439bb1c069bce2318c537c71c (patch)
treedb068d42f58ba2bf8b11acf49a6849efa98b3776 /src
parentfab23f8bc4ca4ab43f670a105587d389dbd18eb7 (diff)
downloadweechat-d80706b5f0e79e4439bb1c069bce2318c537c71c.zip
core: fix too small buffer for encoded base64 string used to authenticate with http proxy
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-network.c b/src/core/wee-network.c
index b0fdf5e70..f611d771a 100644
--- a/src/core/wee-network.c
+++ b/src/core/wee-network.c
@@ -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])