EnvironmentUtilities::stripValuesEndingWithString enters an infinite loop if the...
[WebKit-https.git] / Source / WebKit2 / ChangeLog
index 5e494559c5964a3a21c0b9e672b18aecc820d2a8..3019de3db991b3012c7ad981ddda80bc8874d626 100644 (file)
@@ -1,3 +1,14 @@
+2012-01-01  Dan Bernstein  <mitz@apple.com>
+
+        EnvironmentUtilities::stripValuesEndingWithString enters an infinite loop if the search value
+        occurs a component other than the first.
+
+        Reviewed by Anders Carlsson.
+
+        * Platform/unix/EnvironmentUtilities.cpp:
+        (WebKit::EnvironmentUtilities::stripValuesEndingWithString): Changed to start the search for
+        the next colon after the current colon.
+
 2012-01-01  Dan Bernstein  <mitz@apple.com>
 
         Improved reproting of kernel return codes.