[Webkit-unassigned] [Bug 43299] New: cross_fuzz geolocation window reload NULL pointer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 31 04:50:02 PDT 2010


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

           Summary: cross_fuzz geolocation window reload NULL pointer
           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=63150)
 --> (https://bugs.webkit.org/attachment.cgi?id=63150)
Repro

While trying to reproduce a crash found using CrossFuzz, my implementation of Michal Zalewski's cross_fuzz, I stumbled upon this bug.

@mz: I don't think cross_fuzz would have found it, so it may make sense to add "function () {document.write();}" as a value.

Repro:

<script>
  window.open("", 'x').navigator.geolocation.getCurrentPosition(function () {document.write()});
  location.reload();
</script>

(btw. using "function () {alert();}" has the same effect.)

stack:          WTF::HashTable<WebCore::AtomicStringImpl *,std::pair<WebCore::AtomicStringImpl *,bool 
                WebCore::ScriptExecutionContext::createdActiveDOMObject
                WebCore::ActiveDOMObject::ActiveDOMObject
                WebCore::V8CustomPositionCallback::V8CustomPositionCallback
                WebCore::createPositionCallback
                WebCore::V8Geolocation::getCurrentPositionCallback
                v8::internal::HandleApiCallHelper<...>
                v8::internal::Builtin_HandleApiCall
                v8::internal::Invoke
                v8::internal::Execution::Call
                v8::Script::Run
                ...

I only see NULL pointers, but this may be related to bug 43295 and bug 43297, so marking this as security just in case.

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