From 99d8ef8f3c907499497c9477866b6e3cd1d47307 Mon Sep 17 00:00:00 2001 From: Karim Kanso Date: Thu, 14 May 2020 10:18:20 +0100 Subject: [PATCH] fix -Wformat-overflow= warnings in sprintf --- hydra-http-proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra-http-proxy.c b/hydra-http-proxy.c index 1d3caaa..17bf02a 100644 --- a/hydra-http-proxy.c +++ b/hydra-http-proxy.c @@ -7,7 +7,7 @@ char *http_proxy_buf = NULL; int32_t start_http_proxy(int32_t s, char *ip, int32_t port, unsigned char options, char *miscptr, FILE *fp, char *hostname) { char *empty = ""; - char *login, *pass, buffer[500], buffer2[500]; + char *login, *pass, buffer[5000], buffer2[4500]; char url[210], host[60]; char *header = ""; /* XXX TODO */ char *ptr, *fooptr, *auth_hdr;