bd5cd2e258
submitted by Dan Weeks <danimal@danimal.org> Privoxy is a web proxy with advanced filtering capabilities for protecting privacy, filtering web page content, managing cookies, controlling access, and removing ads, banners, pop-ups and other obnoxious Internet junk. Privoxy has a very flexible configuration and can be customized to suit individual needs and tastes. Privoxy has application for both stand-alone systems and multi-user networks. naddy@ OK
13 lines
456 B
Plaintext
13 lines
456 B
Plaintext
$OpenBSD: patch-gateway_c,v 1.1.1.1 2002/11/29 09:41:39 sturm Exp $
|
|
--- gateway.c.orig Sun Nov 17 12:20:12 2002
|
|
+++ gateway.c Sun Nov 17 12:46:58 2002
|
|
@@ -316,7 +316,7 @@ static jb_socket socks4_connect(const st
|
|
errno = EINVAL;
|
|
return(JB_INVALID_SOCKET);
|
|
}
|
|
- strcpy(cbuf + csiz, target_host);
|
|
+ strlcpy(cbuf + csiz, target_host, sizeof(cbuf) - csiz);
|
|
csiz = n;
|
|
break;
|
|
default:
|