[Webkit-unassigned] [Bug 127424] Crashes in setTextForIterator

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 22 10:27:14 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=127424





--- Comment #6 from peavo at outlook.com  2014-01-22 10:24:44 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> 
> It's unclear if we should be resizing the buffer, or revising the uses of UTextWithBufferInlineCapacity to avoid the additional "+ 1".
> 

Good point, that might be the case.

> For example, if we resize the buffer by one, is this math now wrong? (see UTextProviderLatin1.cpp line 125):
> 
> uText->chunkNativeLimit = uText->chunkNativeStart + UTextWithBufferInlineCapacity;

I don't think this patch changes any logic, as we only allocate more space, without changing the UTextWithBufferInlineCapacity constant.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list