Changeset 103843 in webkit
- Timestamp:
- Dec 30, 2011 9:01:20 AM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r103806 r103843 1 2011-12-30 Dan Bernstein <mitz@apple.com> 2 3 EnvironmentUtilities::stripValuesEndingWithString fails when the variable ends with the search value 4 https://bugs.webkit.org/show_bug.cgi?id=75389 5 6 Reviewed by Anders Carlsson. 7 8 * Platform/unix/EnvironmentUtilities.cpp: 9 (WebKit::EnvironmentUtilities::stripValuesEndingWithString): Fixed an off-by-1 error when 10 examining the character after the match. 11 1 12 2011-12-29 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> 2 13 -
trunk/Source/WebKit2/Platform/unix/EnvironmentUtilities.cpp
r95901 r103843 87 87 match = strstr(componentStart, searchValue); 88 88 while (match != NULL) { 89 if (match[searchLength + 1] == '\0')89 if (match[searchLength] == '\0') 90 90 break; 91 91 match = strstr(match + 1, searchValue);
Note: See TracChangeset
for help on using the changeset viewer.