From: Adam Dickmeiss Date: Wed, 17 Dec 2014 10:40:36 +0000 (+0100) Subject: Larger string buffer for forward address PAZ-987 X-Git-Tag: v1.8.5~2 X-Git-Url: http://git.indexdata.com/?p=pazpar2-moved-to-github.git;a=commitdiff_plain;h=49395bc12642467df185e9a8bf511aa2327032d7 Larger string buffer for forward address PAZ-987 Fixes buffer overflow that could occur if forward address is IPV6. --- 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;