pkgsrc/www/seamonkey/patches/patch-cn
ghen de387ff96b Update the Seamonkey packages to 1.0.3.
Changes:

* Improved stability
* Several security fixes (see below)
* A bug was introduced in SeaMonkey 1.0.2 that sometimes caused the URL bar to
  stop working properly when switching tabs. This has been fixed. (Bug 332874)
* If you have more bookmarks on your personal toolbar than there is space for,
  the ">>" overflow icon will now display more reliably (Bug 338803)
* If you choose to update SeaMonkey when it notifies you that an update is
  available, the update page will load in a more useful browser window (with
  navigation buttons and toolbars) (Bug 334903)

Security fixes:

MFSA 2006-56  chrome: scheme loading remote content
MFSA 2006-55 Crashes with evidence of memory corruption (rv:1.8.0.5)
MFSA 2006-54 XSS with XPCNativeWrapper(window).Function(...)
MFSA 2006-53 UniversalBrowserRead privilege escalation
MFSA 2006-52 PAC privilege escalation using Function.prototype.call
MFSA 2006-51 Privilege escalation using named-functions and redefined "new Object()"
MFSA 2006-50 JavaScript engine vulnerabilities
MFSA 2006-49 Heap buffer overwrite on malformed VCard
MFSA 2006-48 JavaScript new Function race condition
MFSA 2006-47 Native DOM methods can be hijacked across domains
MFSA 2006-46 Memory corruption with simultaneous events
MFSA 2006-45 Javascript navigator Object Vulnerability
MFSA 2006-44 Code execution through deleted frame reference

For a detailed ChangeLog, see:
http://www.mozilla.org/projects/seamonkey/releases/seamonkey1.0.3/changelog.html
2006-07-31 11:58:04 +00:00

94 lines
3.1 KiB
Text

$NetBSD: patch-cn,v 1.2 2006/07/31 11:58:04 ghen Exp $
--- extensions/transformiix/source/xpath/XFormsFunctionCall.cpp.orig 2006-06-13 22:58:31.000000000 +0200
+++ extensions/transformiix/source/xpath/XFormsFunctionCall.cpp
@@ -104,7 +104,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
res = (res/i);
}
else {
- res = Double::NaN;
+ res = Double::NaN();
}
return aContext->recycler()->getNumberResult(res, aResult);
}
@@ -159,7 +159,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
NS_ENSURE_SUCCESS(rv, rv);
PRInt32 result = 0;
- double res = Double::NaN;
+ double res = Double::NaN();
nsresult rv = xformsService->GetDaysFromDateTime(date, &result);
if (NS_SUCCEEDED(rv)) {
res = result;
@@ -222,7 +222,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);
NS_ENSURE_SUCCESS(rv, rv);
@@ -354,7 +354,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
getter_AddRefs(nodes));
NS_ENSURE_SUCCESS(rv, rv);
- double res = Double::NaN;
+ double res = Double::NaN();
PRInt32 i;
for (i = 0; i < nodes->size(); ++i) {
double test;
@@ -362,7 +362,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
txXPathNodeUtils::appendNodeValue(nodes->get(i), resultStr);
test = Double::toDouble(resultStr);
if (Double::isNaN(test)) {
- res = Double::NaN;
+ res = Double::NaN();
break;
}
if (test > res || i == 0) {
@@ -382,7 +382,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
getter_AddRefs(nodes));
NS_ENSURE_SUCCESS(rv, rv);
- double res = Double::NaN;
+ double res = Double::NaN();
PRInt32 i;
for (i = 0; i < nodes->size(); ++i) {
double test;
@@ -390,7 +390,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
txXPathNodeUtils::appendNodeValue(nodes->get(i), resultStr);
test = Double::toDouble(resultStr);
if (Double::isNaN(test)) {
- res = Double::NaN;
+ res = Double::NaN();
break;
}
if ((test < res) || (i==0)) {
@@ -413,7 +413,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
NS_ENSURE_SUCCESS(rv, rv);
PRInt32 result = 0;
- double res = Double::NaN;
+ double res = Double::NaN();
nsresult rv = xformsService->GetMonths(duration, &result);
if (NS_SUCCEEDED(rv)) {
res = result;
@@ -489,7 +489,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
// up the chain
return rv;
}
- res = Double::NaN;
+ res = Double::NaN();
}
return aContext->recycler()->getNumberResult(res, aResult);
@@ -514,7 +514,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
// up the chain
return rv;
}
- res = Double::NaN;
+ res = Double::NaN();
}
return aContext->recycler()->getNumberResult(res, aResult);