summaryrefslogtreecommitdiff
path: root/www/firefox/patches
diff options
context:
space:
mode:
authorghen <ghen>2007-05-31 07:25:07 +0000
committerghen <ghen>2007-05-31 07:25:07 +0000
commit31465648138322196906e4ef66eaff0d98b2047e (patch)
tree469aebbb761c1ad0f18f4a529b329dab6aeed151 /www/firefox/patches
parentb0033ac15e6cc3d818c738463b1d233849a527f6 (diff)
downloadpkgsrc-31465648138322196906e4ef66eaff0d98b2047e.tar.gz
Update firefox, firefox-bin and firefox-gtk1 to 2.0.0.4.
Security fixes in this version: MFSA 2007-17 XUL Popup Spoofing MFSA 2007-16 XSS using addEventListener MFSA 2007-14 Path Abuse in Cookies MFSA 2007-13 Persistent Autocomplete Denial of Service MFSA 2007-12 Crashes with evidence of memory corruption For more info, see http://www.mozilla.com/en-US/firefox/2.0.0.4/releasenotes/
Diffstat (limited to 'www/firefox/patches')
-rw-r--r--www/firefox/patches/patch-cn22
1 files changed, 11 insertions, 11 deletions
diff --git a/www/firefox/patches/patch-cn b/www/firefox/patches/patch-cn
index 9c19667900a..1005f0d1303 100644
--- a/www/firefox/patches/patch-cn
+++ b/www/firefox/patches/patch-cn
@@ -1,6 +1,6 @@
-$NetBSD: patch-cn,v 1.3 2007/05/12 13:53:10 ghen Exp $
+$NetBSD: patch-cn,v 1.4 2007/05/31 07:25:09 ghen Exp $
---- extensions/transformiix/source/xpath/XFormsFunctionCall.cpp.orig 2006-06-20 20:54:45.000000000 +0200
+--- extensions/transformiix/source/xpath/XFormsFunctionCall.cpp.orig 2007-04-27 03:08:49.000000000 +0200
+++ extensions/transformiix/source/xpath/XFormsFunctionCall.cpp
@@ -104,7 +104,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
res = (res/i);
@@ -20,16 +20,16 @@ $NetBSD: patch-cn,v 1.3 2007/05/12 13:53:10 ghen Exp $
nsresult rv = xformsService->GetDaysFromDateTime(date, &result);
if (NS_SUCCEEDED(rv)) {
res = result;
-@@ -222,7 +222,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
+@@ -211,7 +211,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
NS_ENSURE_SUCCESS(rv, rv);
PRInt32 index = 0;
- double res = Double::NaN;
+ double res = Double::NaN();
- rv = xformsService->GetRepeatIndex(repeatEle, &index);
+ rv = xformsService->GetRepeatIndexById(mResolverNode, indexId, &index);
NS_ENSURE_SUCCESS(rv, rv);
-@@ -355,7 +355,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
+@@ -344,7 +344,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
getter_AddRefs(nodes));
NS_ENSURE_SUCCESS(rv, rv);
@@ -38,7 +38,7 @@ $NetBSD: patch-cn,v 1.3 2007/05/12 13:53:10 ghen Exp $
PRInt32 i;
for (i = 0; i < nodes->size(); ++i) {
double test;
-@@ -363,7 +363,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
+@@ -352,7 +352,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
txXPathNodeUtils::appendNodeValue(nodes->get(i), resultStr);
test = Double::toDouble(resultStr);
if (Double::isNaN(test)) {
@@ -47,7 +47,7 @@ $NetBSD: patch-cn,v 1.3 2007/05/12 13:53:10 ghen Exp $
break;
}
if (test > res || i == 0) {
-@@ -383,7 +383,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
+@@ -372,7 +372,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
getter_AddRefs(nodes));
NS_ENSURE_SUCCESS(rv, rv);
@@ -56,7 +56,7 @@ $NetBSD: patch-cn,v 1.3 2007/05/12 13:53:10 ghen Exp $
PRInt32 i;
for (i = 0; i < nodes->size(); ++i) {
double test;
-@@ -391,7 +391,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
+@@ -380,7 +380,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
txXPathNodeUtils::appendNodeValue(nodes->get(i), resultStr);
test = Double::toDouble(resultStr);
if (Double::isNaN(test)) {
@@ -65,7 +65,7 @@ $NetBSD: patch-cn,v 1.3 2007/05/12 13:53:10 ghen Exp $
break;
}
if ((test < res) || (i==0)) {
-@@ -414,7 +414,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
+@@ -403,7 +403,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
NS_ENSURE_SUCCESS(rv, rv);
PRInt32 result = 0;
@@ -74,7 +74,7 @@ $NetBSD: patch-cn,v 1.3 2007/05/12 13:53:10 ghen Exp $
nsresult rv = xformsService->GetMonths(duration, &result);
if (NS_SUCCEEDED(rv)) {
res = result;
-@@ -490,7 +490,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
+@@ -479,7 +479,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
// up the chain
return rv;
}
@@ -83,7 +83,7 @@ $NetBSD: patch-cn,v 1.3 2007/05/12 13:53:10 ghen Exp $
}
return aContext->recycler()->getNumberResult(res, aResult);
-@@ -515,7 +515,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
+@@ -504,7 +504,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
// up the chain
return rv;
}