Title: [206385] trunk/Source/WebCore
Revision
206385
Author
[email protected]
Date
2016-09-26 12:09:03 -0700 (Mon, 26 Sep 2016)

Log Message

-Wtautological-compare triggered in URLParser::internalValuesConsistent
https://bugs.webkit.org/show_bug.cgi?id=162551

Reviewed by Alex Christensen.

Fix logic error.

* platform/URLParser.cpp:
(WebCore::URLParser::internalValuesConsistent):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (206384 => 206385)


--- trunk/Source/WebCore/ChangeLog	2016-09-26 18:57:32 UTC (rev 206384)
+++ trunk/Source/WebCore/ChangeLog	2016-09-26 19:09:03 UTC (rev 206385)
@@ -1,5 +1,17 @@
 2016-09-26  Michael Catanzaro  <[email protected]>
 
+        -Wtautological-compare triggered in URLParser::internalValuesConsistent
+        https://bugs.webkit.org/show_bug.cgi?id=162551
+
+        Reviewed by Alex Christensen.
+
+        Fix logic error.
+
+        * platform/URLParser.cpp:
+        (WebCore::URLParser::internalValuesConsistent):
+
+2016-09-26  Michael Catanzaro  <[email protected]>
+
         Add CairoUniquePtr and use it in FontPlatformDataFreetype.cpp
         https://bugs.webkit.org/show_bug.cgi?id=162557
 

Modified: trunk/Source/WebCore/platform/URLParser.cpp (206384 => 206385)


--- trunk/Source/WebCore/platform/URLParser.cpp	2016-09-26 18:57:32 UTC (rev 206384)
+++ trunk/Source/WebCore/platform/URLParser.cpp	2016-09-26 19:09:03 UTC (rev 206385)
@@ -2354,7 +2354,7 @@
         && url.m_userStart <= url.m_userEnd
         && url.m_userEnd <= url.m_passwordEnd
         && url.m_passwordEnd <= url.m_hostEnd
-        && url.m_hostEnd <= url.m_hostEnd
+        && url.m_hostEnd <= url.m_portEnd
         && url.m_portEnd <= url.m_pathAfterLastSlash
         && url.m_pathAfterLastSlash <= url.m_pathEnd
         && url.m_pathEnd <= url.m_queryEnd
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to