summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-cg
diff options
context:
space:
mode:
authorjlam <jlam>2005-09-22 14:14:04 +0000
committerjlam <jlam>2005-09-22 14:14:04 +0000
commitdad06671c06d1317a5a6401ec1161e2fb00e680c (patch)
tree904249f4e609176a24b66806361ba383c18078e1 /www/firefox/patches/patch-cg
parentede779e1dffbf4a3f455d24373c4ee066c7063c0 (diff)
downloadpkgsrc-dad06671c06d1317a5a6401ec1161e2fb00e680c.tar.gz
Update www/firefox and www/firefox-gtk1 to version 1.0.7. Changes from
version 1.0.6 include: * Fix for a potential buffer overflow vulnerability when loading a hostname with all soft-hyphens * Fix to prevent URLs passed from external programs from being parsed by the shell (Linux only) * Fix to prevent a crash when loading a Proxy Auto-Config (PAC) script that uses an "eval" statement * Fix to restore InstallTrigger.getVersion() for Extension authors * Other stability and security fixes Approved by taya.
Diffstat (limited to 'www/firefox/patches/patch-cg')
-rw-r--r--www/firefox/patches/patch-cg13
1 files changed, 6 insertions, 7 deletions
diff --git a/www/firefox/patches/patch-cg b/www/firefox/patches/patch-cg
index 23911826632..0ea70534cf9 100644
--- a/www/firefox/patches/patch-cg
+++ b/www/firefox/patches/patch-cg
@@ -1,7 +1,7 @@
-$NetBSD: patch-cg,v 1.4 2005/06/22 22:05:34 martin Exp $
+$NetBSD: patch-cg,v 1.5 2005/09/22 14:14:04 jlam Exp $
---- extensions/transformiix/source/base/Double.cpp.orig 2004-01-15 22:23:18.000000000 +0100
-+++ extensions/transformiix/source/base/Double.cpp 2005-06-20 11:26:26.000000000 +0200
+--- extensions/transformiix/source/base/Double.cpp.orig 2004-01-15 21:23:18.000000000 +0000
++++ extensions/transformiix/source/base/Double.cpp
@@ -48,6 +48,38 @@
* Utility class for doubles
*/
@@ -41,7 +41,7 @@ $NetBSD: patch-cg,v 1.4 2005/06/22 22:05:34 martin Exp $
//A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
#ifdef __FreeBSD__
#include <ieeefp.h>
-@@ -127,9 +159,20 @@
+@@ -127,9 +159,20 @@ const PRUint32 infMask[2] = {0, TX_DO
const PRUint32 negInfMask[2] = {0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT};
#endif
@@ -65,7 +65,7 @@ $NetBSD: patch-cg,v 1.4 2005/06/22 22:05:34 martin Exp $
/*
* Determines whether the given double represents positive or negative
-@@ -157,6 +200,7 @@
+@@ -157,6 +200,7 @@ MBool Double::isNeg(double aDbl)
{
return (TX_DOUBLE_HI32(aDbl) & TX_DOUBLE_HI32_SIGNBIT) != 0;
}
@@ -73,7 +73,7 @@ $NetBSD: patch-cg,v 1.4 2005/06/22 22:05:34 martin Exp $
/*
* Converts the given String to a double, if the String value does not
-@@ -244,7 +288,7 @@
+@@ -244,7 +288,7 @@ public:
{
if (mState == eIllegal || mBuffer.IsEmpty() ||
(mBuffer.Length() == 1 && mBuffer[0] == '.')) {
@@ -82,4 +82,3 @@ $NetBSD: patch-cg,v 1.4 2005/06/22 22:05:34 martin Exp $
}
return mSign*PR_strtod(mBuffer.get(), 0);
}
-