[Webkit-unassigned] [Bug 19964] New: divide by zero crash in RenderBox::calculateBackgroundSize with 0, 0 bmp background image

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 9 11:33:27 PDT 2008


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

           Summary: divide by zero crash in
                    RenderBox::calculateBackgroundSize with 0,0 bmp
                    background image
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: All
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Major
          Priority: P3
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: amohr at adobe.com


there's a divide by zero crash in RenderBox::calculateBackgroundSize when you
load a 0,0 bmp as the background image and specify -khtml-background-size

It crashes on:
w = bg->imageSize(this, style()->effectiveZoom()).width() * h /
bg->imageSize(this, style()->effectiveZoom()).height();

since bg->imageSize returns 0,0


-- 
Configure bugmail: https://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