[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
darin
darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:46:52 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 113238e7bc08cd73f40899662df4cf321731612b
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Oct 4 00:43:22 2002 +0000
- fixed 3065730 -- Crash loading "My T-Mobile" page (in khtml::Decoder::decode)
* khtml/misc/decoder.cpp: (Decoder::decode): Fixed a mistake that would cause
the loop to run off the end of the buffer, introduced back on 2002-08-30.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index 91e763d..c900e4f 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,5 +1,12 @@
2002-10-03 Darin Adler <darin at apple.com>
+ - fixed 3065730 -- Crash loading "My T-Mobile" page (in khtml::Decoder::decode)
+
+ * khtml/misc/decoder.cpp: (Decoder::decode): Fixed a mistake that would cause
+ the loop to run off the end of the buffer, introduced back on 2002-08-30.
+
+2002-10-03 Darin Adler <darin at apple.com>
+
Add API to execute JavaScript.
* kwq/WebCoreBridge.h: Add method.
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 91e763d..c900e4f 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,12 @@
2002-10-03 Darin Adler <darin at apple.com>
+ - fixed 3065730 -- Crash loading "My T-Mobile" page (in khtml::Decoder::decode)
+
+ * khtml/misc/decoder.cpp: (Decoder::decode): Fixed a mistake that would cause
+ the loop to run off the end of the buffer, introduced back on 2002-08-30.
+
+2002-10-03 Darin Adler <darin at apple.com>
+
Add API to execute JavaScript.
* kwq/WebCoreBridge.h: Add method.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 91e763d..c900e4f 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,12 @@
2002-10-03 Darin Adler <darin at apple.com>
+ - fixed 3065730 -- Crash loading "My T-Mobile" page (in khtml::Decoder::decode)
+
+ * khtml/misc/decoder.cpp: (Decoder::decode): Fixed a mistake that would cause
+ the loop to run off the end of the buffer, introduced back on 2002-08-30.
+
+2002-10-03 Darin Adler <darin at apple.com>
+
Add API to execute JavaScript.
* kwq/WebCoreBridge.h: Add method.
diff --git a/WebCore/khtml/misc/decoder.cpp b/WebCore/khtml/misc/decoder.cpp
index 021d393..062a2cd 100644
--- a/WebCore/khtml/misc/decoder.cpp
+++ b/WebCore/khtml/misc/decoder.cpp
@@ -368,8 +368,8 @@ QString Decoder::decode(const char *data, int len)
#ifdef APPLE_CHANGES
const char *ptr = buffer.latin1();
- int pLen = buffer.length();
- while(pLen--)
+ const char *pEnd = ptr + buffer.length();
+ while(ptr != pEnd)
#else
const char *ptr = buffer.data();
while(*ptr != '\0')
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list