[Webkit-unassigned] [Bug 96272] NPN_InitializeVariantWithStringCopy is wrong for platforms that return NULL from malloc(0)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 17 03:11:38 PST 2013


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


Julien Brianceau <jbrianceau at nds.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #163142|0                           |1
        is obsolete|                            |
 Attachment #163142|review?, commit-queue?      |
               Flag|                            |




--- Comment #7 from Julien Brianceau <jbrianceau at nds.com>  2013-01-17 03:13:25 PST ---
(From update of attachment 163142)
Ok, I'll provide a new patch to use fastMalloc allocator for NPN objects and string variants, and perform few tests.
But I see that even fastMalloc can return 0 when USE_SYSTEM_MALLOC define is set in Source/WTF/wtf/Platform.h. Should we handle this case ?

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