[Webkit-unassigned] [Bug 80912] New: BumpPointerAllocator assumes page size is less than MINIMUM_BUMP_POOL_SIZE

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 12 17:39:49 PDT 2012


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

           Summary: BumpPointerAllocator assumes page size is less than
                    MINIMUM_BUMP_POOL_SIZE
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mmaxfield at google.com
                CC: barraclough at apple.com


In BumpPointerPool::create(), poolSize is set to MINIMUM_BUMP_POOL_SIZE and then passed to PageAllocation::allocate(). If this value is not divisible by WTF::pageSize() (or, if the page size is larger than poolSize) allocate() crashes because of ASSERT(isPageAligned(size)).

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