summaryrefslogtreecommitdiff
path: root/www/firefox3/patches/patch-eb
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox3/patches/patch-eb')
-rw-r--r--www/firefox3/patches/patch-eb14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/firefox3/patches/patch-eb b/www/firefox3/patches/patch-eb
new file mode 100644
index 00000000000..7f86ac2f0b7
--- /dev/null
+++ b/www/firefox3/patches/patch-eb
@@ -0,0 +1,14 @@
+$NetBSD: patch-eb,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- xpfe/components/history/src/nsGlobalHistory.cpp.orig 2006-02-02 20:55:17.000000000 +0100
++++ xpfe/components/history/src/nsGlobalHistory.cpp
+@@ -1055,6 +1055,9 @@ nsGlobalHistory::SetPageTitle(nsIURI *aU
+ rv = aURI->GetSpec(URISpec);
+ NS_ENSURE_SUCCESS(rv, rv);
+
++ if (URISpec.Length() > HISTORY_URI_LENGTH_MAX)
++ URISpec.Left(URISpec, HISTORY_URI_LENGTH_MAX);
++
+ nsCOMPtr<nsIMdbRow> row;
+ rv = FindRow(kToken_URLColumn, URISpec.get(), getter_AddRefs(row));
+