EnvironmentUtilities::stripValuesEndingWithString enters an infinite loop if the...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Jan 2012 19:44:03 +0000 (19:44 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Jan 2012 19:44:03 +0000 (19:44 +0000)
commite2941dd36194fcabea58dc0d95529a3ff4a6dc16
tree05669517d0b3b98ace9b9e0921f76454d8d6664b
parentf369b35acc254a8ff3454943413651403e105f07
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@103880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Platform/unix/EnvironmentUtilities.cpp