[Webkit-unassigned] [Bug 88936] StringImpl::characters can return NULL for an empty string

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 13 12:24:17 PDT 2012


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





--- Comment #4 from Myles C. Maxfield <mmaxfield at google.com>  2012-06-13 12:24:17 PST ---
fastMalloc(x) can call malloc(x). According to C99 (about malloc): "If the size of the space requested is zero, the behavior is implementation- deļ¬ned: either a null pointer is returned, or the behavior is as if the size were some nonzero value, except that the returned pointer shall not be used to access an object."

Should I add this to the comment?

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