From 49395bc12642467df185e9a8bf511aa2327032d7 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 17 Dec 2014 11:40:36 +0100 Subject: [PATCH] Larger string buffer for forward address PAZ-987 Fixes buffer overflow that could occur if forward address is IPV6. --- src/http.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.h b/src/http.h index 4bae571..1067e85 100644 --- a/src/http.h +++ b/src/http.h @@ -50,7 +50,7 @@ struct http_channel struct http_request *request; struct http_response *response; struct http_channel *next; // for freelist - char addr[20]; // forwarded address + char addr[256]; // forwarded address http_channel_observer_t observers; struct conf_server *server; http_server_t http_server; -- 1.7.10.4