[Webkit-unassigned] [Bug 124644] New: machMessageSize uses sizeof(mach_msg_ool_ports_descriptor_t) for out-of-line *memory*

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 20 01:05:20 PST 2013


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

           Summary: machMessageSize uses
                    sizeof(mach_msg_ool_ports_descriptor_t) for
                    out-of-line *memory*
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: thorton at apple.com
                CC: ap at webkit.org, andersca at apple.com, sam at webkit.org


machMessageSize does:

        if (numberOfOOLMemoryDescriptors)
            size += (numberOfOOLMemoryDescriptors * sizeof(mach_msg_ool_ports_descriptor_t));

but then uses descriptor->out_of_line, which is a mach_msg_ool_descriptor_t.

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