Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Issue 6609038: Fix memory corruption with AdoptText method.... (Closed)

Created:
9 years, 9 months ago by Nebojša Ćirić
Modified:
9 years, 7 months ago
CC:
v8-dev, jungshik at Google
Visibility:
Public.

Description

Fix memory corruption with AdoptText method. Icu setText method keeps pointer to text, it doesn't copy it so we have to keep text around for the lifetime of the break iterator object, or next setText operation. Committed: http://code.google.com/p/v8/source/detail?r=7063

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -6 lines) Patch
M src/extensions/experimental/break-iterator.h View 2 chunks +6 lines, -0 lines 0 comments Download
M src/extensions/experimental/break-iterator.cc View 5 chunks +26 lines, -6 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Nebojša Ćirić
Tested on Mac, Win and Linux Chromium, and Mac WebKit tree, and all is good.
9 years, 9 months ago (2011-03-04 00:08:21 UTC) #1
Mads Ager (chromium)
9 years, 9 months ago (2011-03-04 07:44:13 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698