[Webkit-unassigned] [Bug 46695] [Qt] Invalid pointer access & incomplete memcmp in setUpIterator
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 31 11:23:26 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=46695
--- Comment #6 from Benjamin Poulain <benjamin.poulain at nokia.com> 2011-01-31 11:23:25 PST ---
(In reply to comment #5)
> should really be this ...
>
> if (iterator.isValid() && type == iterator.type() && length == iterator.length && string == iterator.string) {
> iterator.toStart();
> return &iterator;
> }
>
> That is, we just want to make sure iterator.string is at the same place in memory as 'string'. Then it's safe to recycle it. Let me do some more digging and testing ...
Uh... "string" is a UChar*. I don't think you'll skip the memcmp so easily.
--
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