Comment #3 on issue 10539 by [email protected]: Linux: crash in  
AutocompleteEditViewGtk::EmphasizeURLComponents
http://code.google.com/p/chromium/issues/detail?id=10539

The following revision refers to this bug:
     http://src.chromium.org/viewvc/chrome?view=rev&revision=13741

------------------------------------------------------------------------
r13741 | [email protected] | 2009-04-15 07:16:00 -0700 (Wed, 15 Apr 2009)  
| 8 lines
Changed paths:
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc?r1=13741&r2=13740

Fixing a crash which could occur when a string containing multibyte  
characters is passed to AutocompleteEditViewGtk::EmphasizeURLComponents().

The AutocompleteInput::Parse works in a wstring, so the parts indices are  
also for a wstring.  Convert these to utf8 byte indices.

BUG=10539

Review URL: http://codereview.chromium.org/73078

------------------------------------------------------------------------


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to