Bug 40861
| Summary: | [chromium] WebCString compare method can return wrong results | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jay Civelli <jcivelli> |
| Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
Jay Civelli
The WebCString::compare() method returns 0 (string equals) when comparing "a" and "aa".
(it reports as equal 2 strings if one is a prefix of the other).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jay Civelli
I did not realize the patch in 40632 did not land.
I fixed the bug in that patch.
*** This bug has been marked as a duplicate of bug 40632 ***