Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
squidGuard
squidGuard-CVE-2009-3826.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File squidGuard-CVE-2009-3826.patch of Package squidGuard
Index: squidGuard-1.4/src/sg.h.in =================================================================== --- squidGuard-1.4.orig/src/sg.h.in 2010-07-29 13:42:40.000000000 +0200 +++ squidGuard-1.4/src/sg.h.in 2010-07-29 13:52:36.000000000 +0200 @@ -73,15 +73,15 @@ int tolower(); #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" #define ERROR_LOGFILE "squidGuard.error" -#define DEFAULT_CONFIGFILE "/etc/squidGuard.conf" -#define DEFAULT_LOGDIR "/var/log/squidGuard" -#define DEFAULT_DBHOME "/var/lib/squidGuard/db" +#define DEFAULT_CONFIGFILE "@prefix@/squidGuard/squidGuard.conf" +#define DEFAULT_LOGDIR "@prefix@/squidGuard/log" +#define DEFAULT_DBHOME "@prefix@/squidGuard/db" #define EXEC_PROGRAM "@prefix@/bin/squidGuard" #ifdef ACCONFIG Index: squidGuard-1.4/src/sgDiv.c.in =================================================================== --- squidGuard-1.4.orig/src/sgDiv.c.in 2008-07-14 18:02:43.000000000 +0200 +++ squidGuard-1.4/src/sgDiv.c.in 2010-07-29 13:52:36.000000000 +0200 @@ -745,7 +745,7 @@ char *sgParseRedirect(redirect, req, acl p++; break; case 'u': /* Requested URL */ - strcat(buf, req->orig); + strncat(buf, req->orig, 2048); p++; break; default:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor