New issue
Advanced search Search tips

Issue 655855 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

!wrapper.IsEmpty() in ScriptWrappable.cpp

Project Member Reported by ClusterFuzz, Oct 14 2016

Issue description

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=6368018856935424

Fuzzer: inferno_twister
Job Type: linux_debug_content_shell_drt
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  !wrapper.IsEmpty() in ScriptWrappable.cpp
  blink::ScriptWrappable::wrap
  blink::v8SetReturnValueFast<>
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_debug_content_shell_drt&range=409589:409828

Minimized Testcase (0.58 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv95ma02a6QDPYmA4qiCj3zVsplZVsovwnt_Rdc8BrxMlqmoMN0ztxBZ55c35LuX4McOQ3SCwktyQuec__tujYSYp8bZriVMwmCircWkv1XrySJCMkfTm91AOGPEgwqvZehV0s2N9oGPeA8Jb8IIVHdJ-Nst0vg?testcase_id=6368018856935424
<script>
    function runTest() {
        img = document.createElement('img');
        img.src = `data:image/svg+xml,
            <svg xmlns="http://www.w3.org/2000/svg">
                <foreignObject>
                    <body xmlns="http://www.w3.org/1999/xhtml">
                        <marquee></marquee>
                    </body>
                </foreignObject>
            </svg>`;
        document.body.appendChild(img);
    }
</script>
<body onload=runTest()><script>
setTimeout("tCFcrash()");
function tCFcrash() {
tCFDoc315 = document.implementation.createDocument();
}</script>


Issue manually filed by: mummareddy

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Components: Tools>Test>FindIt>NoResult Blink
Labels: M-56 Te-Logged
Owner: haraken@chromium.org
Status: Assigned (was: Untriaged)
Suspected CL through code search on file ScriptWrappable.cpp
https://chromium.googlesource.com/chromium/src/+/120fd684181b5730f243f87189d498ce5f0a1f8d
haraken@, could you please take a look and help us to find correct owner if it is not related your changes.
Components: -Blink Blink>Bindings
Components: -Tools>Test>FindIt>NoResult
Project Member

Comment 4 by sheriffbot@chromium.org, Nov 22 2016

Labels: -Restrict-View-EditIssue
Removing EditIssue view restrictions from ClusterFuzz filed bugs. If you believe that this issue should still be restricted, please reapply the label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 5 by ClusterFuzz, Dec 1 2016

ClusterFuzz has detected this issue as fixed in range 435133:435156.

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=6368018856935424

Fuzzer: inferno_twister
Job Type: linux_debug_content_shell_drt
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  !wrapper.IsEmpty() in ScriptWrappable.cpp
  blink::ScriptWrappable::wrap
  blink::v8SetReturnValueFast<>
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_debug_content_shell_drt&range=409589:409828
Fixed: https://cluster-fuzz.appspot.com/revisions?job=linux_debug_content_shell_drt&range=435133:435156

Minimized Testcase (0.58 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv95ma02a6QDPYmA4qiCj3zVsplZVsovwnt_Rdc8BrxMlqmoMN0ztxBZ55c35LuX4McOQ3SCwktyQuec__tujYSYp8bZriVMwmCircWkv1XrySJCMkfTm91AOGPEgwqvZehV0s2N9oGPeA8Jb8IIVHdJ-Nst0vg?testcase_id=6368018856935424
<script>
    function runTest() {
        img = document.createElement('img');
        img.src = `data:image/svg+xml,
            <svg xmlns="http://www.w3.org/2000/svg">
                <foreignObject>
                    <body xmlns="http://www.w3.org/1999/xhtml">
                        <marquee></marquee>
                    </body>
                </foreignObject>
            </svg>`;
        document.body.appendChild(img);
    }
</script>
<body onload=runTest()><script>
setTimeout("tCFcrash()");
function tCFcrash() {
tCFDoc315 = document.implementation.createDocument();
}</script>


See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Project Member

Comment 6 by ClusterFuzz, Dec 1 2016

Labels: ClusterFuzz-Verified
Status: Verified (was: Assigned)
ClusterFuzz testcase is verified as fixed, closing issue.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.

Sign in to add a comment