[Webkit-unassigned] [Bug 11414] [s60]China Variant Crashes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 8 13:45:13 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11414


zbujtas at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #11429|review?(zbujtas at gmail.com)  |review-
               Flag|                            |




------- Comment #6 from zbujtas at gmail.com  2006-11-08 13:45 PDT -------
(From update of attachment 11429)
checkRealloc should take two parameters, the current buffer and the length you
want to expand to and return the new buffer.
so instead of
TBool checkRealloc( HBufC8*  aBuf, TPtr8& aPtr, TInt aLen )
you should have something like
HBufC8* checkRealloc( TPtrC8& , TInt  ) 

then you dont have to do tricks like this
//
HBufC8* temp = aBuf->ReAlloc( maxlen + (len == maxlen ? 1 : aLen) );


-- 
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