[Webkit-unassigned] [Bug 43139] New: window.styleMedia.matchMedium() NULL pointer with open document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 28 12:49:37 PDT 2010


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

           Summary: window.styleMedia.matchMedium() NULL pointer with open
                    document
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: skylined at chromium.org
                CC: eric at webkit.org
            Blocks: 42959


Created an attachment (id=62863)
 --> (https://bugs.webkit.org/attachment.cgi?id=62863)
Repro case

Found as part of cross_fuzz investigation
Repro:
  <body onload="document.open();window.styleMedia.matchMedium();">

id:             WebCore::CSSStyleSelector::styleForElement ReadAV at NULL (dc7b32067c1b2c657a6337dd1beb1998)
description:    Attempt to read from NULL pointer (+0x24) in WebCore::CSSStyleSelector::styleForElement
stack:          WebCore::CSSStyleSelector::styleForElement
                WebCore::StyleMedia::matchMedium
                WebCore::StyleMediaInternal::matchMediumCallback
                v8::internal::HandleApiCallHelper<...>
                v8::internal::Builtin_HandleApiCall
                v8::internal::Invoke
                v8::internal::Execution::Call
                ...

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