[Webkit-unassigned] [Bug 11414] [s60]China Variant Crashes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 9 08:43:19 PST 2006
http://bugs.webkit.org/show_bug.cgi?id=11414
zbujtas at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #11438|review?(zbujtas at gmail.com) |review-
Flag| |
------- Comment #8 from zbujtas at gmail.com 2006-11-09 08:43 PDT -------
(From update of attachment 11438)
1, ptr.Length() + tmpBuf.Length() should be passed to checkRealloc instead of
tmpBuf.Length()
2, outBuf->Des().Copy( aPtr ) should be used instead of
outBuf->operator=(aPtr);
as the buffer that aPtr points to is destroyed right after checkRealloc returns
(delete outBuf;)
3, checkRealloc should not leave, it should return null in case of oom.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list