packages: squidGuard/squidGuard-url-bypass.patch (NEW) - new (based on http...
adamg
adamg at pld-linux.org
Tue Feb 16 20:24:54 CET 2010
Author: adamg Date: Tue Feb 16 19:24:54 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- new (based on http://www.squidguard.org/Downloads/Patches/1.4/squidGuard-1.4-patch-20091019.tar.gz)
---- Files affected:
packages/squidGuard:
squidGuard-url-bypass.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/squidGuard/squidGuard-url-bypass.patch
diff -u /dev/null packages/squidGuard/squidGuard-url-bypass.patch:1.1
--- /dev/null Tue Feb 16 20:24:54 2010
+++ packages/squidGuard/squidGuard-url-bypass.patch Tue Feb 16 20:24:49 2010
@@ -0,0 +1,24 @@
+based on http://www.squidguard.org/Downloads/Patches/1.4/squidGuard-1.4-patch-20091019.tar.gz
+
+--- a/src/sgDiv.c.in 2008-07-14 18:02:43.000000000 +0200
++++ b/src/sgDiv.c.in 2009-10-19 21:26:04.000000000 +0200
+@@ -745,7 +745,7 @@
+ p++;
+ break;
+ case 'u': /* Requested URL */
+- strcat(buf, req->orig);
++ strncat(buf, req->orig, 2048);
+ p++;
+ break;
+ default:
+--- a/src/sg.h.in 2007-11-16 17:58:32.000000000 +0100
++++ b/src/sg.h.in 2009-10-19 21:25:23.000000000 +0200
+@@ -73,7 +73,7 @@
+ #define REQUEST_TYPE_REDIRECT 2
+ #define REQUEST_TYPE_PASS 3
+
+-#define MAX_BUF 4096
++#define MAX_BUF 12288
+
+ #define DEFAULT_LOGFILE "squidGuard.log"
+ #define WARNING_LOGFILE "squidGuard.log"
================================================================
More information about the pld-cvs-commit
mailing list