diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2010-11-08 13:40:35 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-11-29 20:11:21 +0100 |
commit | 5cafae4f1a9b6f63a1b51d468035eff912ff4a16 (patch) | |
tree | 198833749d3d2f92b1c0cd9e2e1067388fe767cf /package/squid/squid-susv3-legacy.patch | |
parent | e7fbeda8013d74ef9b179d67efd0ec2ac5d271d5 (diff) |
squid: bump to version 3.1.9
Closes #2773
Fixes several security issues and host-openssl dependency for cf_gen.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/squid/squid-susv3-legacy.patch')
-rw-r--r-- | package/squid/squid-susv3-legacy.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/package/squid/squid-susv3-legacy.patch b/package/squid/squid-susv3-legacy.patch deleted file mode 100644 index c3343bd2a..000000000 --- a/package/squid/squid-susv3-legacy.patch +++ /dev/null @@ -1,49 +0,0 @@ -[PATCH] replace susv3 legacy functions with modern equivalents - -Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> ---- - src/ESIVarState.cc | 6 +++--- - src/HttpHeaderTools.cc | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -Index: squid-3.0.STABLE21/src/ESIVarState.cc -=================================================================== ---- squid-3.0.STABLE21.orig/src/ESIVarState.cc -+++ squid-3.0.STABLE21/src/ESIVarState.cc -@@ -207,7 +207,7 @@ ESIVariableUserAgent::getProductVersion - { - char const *t; - int len; -- t = index (s,'/'); -+ t = strchr (s,'/'); - - if (!t || !*(++t)) - return xstrdup (""); -@@ -382,12 +382,12 @@ ESIVariableUserAgent::ESIVariableUserAge - - if ((t = strstr (s, "MSIE"))) { - browser = ESI_BROWSER_MSIE; -- t = index (t, ' '); -+ t = strchr (t, ' '); - - if (!t) - browserversion = xstrdup (""); - else { -- t1 = index (t, ';'); -+ t1 = strchr (t, ';'); - - if (!t1) - browserversion = xstrdup (t + 1); -Index: squid-3.0.STABLE21/src/HttpHeaderTools.cc -=================================================================== ---- squid-3.0.STABLE21.orig/src/HttpHeaderTools.cc -+++ squid-3.0.STABLE21/src/HttpHeaderTools.cc -@@ -357,7 +357,7 @@ httpHeaderParseQuotedString (const char - pos = start + 1; - - while (1) { -- if (!(end = index (pos,'"'))) { -+ if (!(end = strchr (pos,'"'))) { - debugs(66, 2, "failed to parse a quoted-string header field near '" << start << "'"); - return 0; - } |