[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

sullivan sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:48:34 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 6062ecb7ade6148484dbd63e0e5ec3e25b498fab
Author: sullivan <sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Jul 24 22:43:50 2003 +0000

    	- fixed 3332622 -- Safari Abbreviates Attribute Names in EMBED tags
    
            Reviewed by Richard
    
            * khtml/html/htmltokenizer.h:
    	bumped fixed max length of attributes from 14 to 1024.
    	Theoretically they could be any arbitrary length, but it's
    	more risk than it's worth to rewrite the code that uses the
    	fixed-size buffer that is based on this value.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4706 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index bbd719e..0669ca7 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,15 @@
+2003-07-24  John Sullivan  <sullivan at apple.com>
+
+	- fixed 3332622 -- Safari Abbreviates Attribute Names in EMBED tags
+
+        Reviewed by Richard
+
+        * khtml/html/htmltokenizer.h:
+	bumped fixed max length of attributes from 14 to 1024.
+	Theoretically they could be any arbitrary length, but it's
+	more risk than it's worth to rewrite the code that uses the
+	fixed-size buffer that is based on this value.
+
 2003-07-24  Dave Hyatt  <hyatt at apple.com>
 
 	Change all uses of "konq-" in CSS to "khtml-".  
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index bbd719e..0669ca7 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,15 @@
+2003-07-24  John Sullivan  <sullivan at apple.com>
+
+	- fixed 3332622 -- Safari Abbreviates Attribute Names in EMBED tags
+
+        Reviewed by Richard
+
+        * khtml/html/htmltokenizer.h:
+	bumped fixed max length of attributes from 14 to 1024.
+	Theoretically they could be any arbitrary length, but it's
+	more risk than it's worth to rewrite the code that uses the
+	fixed-size buffer that is based on this value.
+
 2003-07-24  Dave Hyatt  <hyatt at apple.com>
 
 	Change all uses of "konq-" in CSS to "khtml-".  
diff --git a/WebCore/khtml/html/htmltokenizer.h b/WebCore/khtml/html/htmltokenizer.h
index 3396fcb..e3a16ad 100644
--- a/WebCore/khtml/html/htmltokenizer.h
+++ b/WebCore/khtml/html/htmltokenizer.h
@@ -340,7 +340,10 @@ protected:
     int scriptStartLineno;
     int tagStartLineno;
 
-#define CBUFLEN 14
+// This buffer can hold arbitrarily long user-defined attribute names, such as in EMBED tags.
+// So any fixed number might be too small, but rather than rewriting all usage of this buffer
+// we'll just make it large enough to handle all imaginable cases.
+#define CBUFLEN 1024
     char cBuffer[CBUFLEN+2];
     unsigned int cBufferPos;
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list