<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>44172</bug_id>
          
          <creation_ts>2010-08-18 06:47:31 -0700</creation_ts>
          <short_desc>[chromium] WebKit::WebFormElement::getFormControlElements ReadAV@NULL</short_desc>
          <delta_ts>2011-07-28 01:03:13 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows Vista</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>43055</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Berend-Jan Wever">skylined</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>tony</cc>
    
    <cc>tonyg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>266080</commentid>
    <comment_count>0</comment_count>
      <attachid>64700</attachid>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2010-08-18 06:47:31 -0700</bug_when>
    <thetext>Created attachment 64700
Repro

The following repro causes a NULL pointer in Chromium latest:
&lt;body onload=&quot;
  document.write(&apos;&lt;svg&gt;&lt;form&gt;&lt;strike&gt;&lt;form&gt;&apos;);
  document.close();
&quot;&gt;

id:             WebKit::WebFormElement::getFormControlElements ReadAV@NULL (c289b174a22e30d5c270e0327fe517e9)
description:    Attempt to read from NULL pointer (+0x60) in WebKit::WebFormElement::getFormControlElements
stack:          WebKit::WebFormElement::getFormControlElements
                FormManager::ExtractForms
                AutoFillHelper::FrameContentsAvailable
                RenderView::didFinishDocumentLoad
                WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad
                WebCore::FrameLoader::finishedParsing
                WebCore::Document::finishedParsing
                WebCore::DocumentWriter::endIfNotLoadingMainResource
                WebCore::Document::close
                WebCore::HTMLDocumentInternal::closeCallback
                v8::internal::HandleApiCallHelper&lt;...&gt;
                v8::internal::Builtin_HandleApiCall
                v8::internal::Invoke
                v8::internal::Execution::Call
                ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>266130</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-08-18 08:43:16 -0700</bug_when>
    <thetext>Probably related to bug 43055 as well, not sure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>266179</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-08-18 09:54:35 -0700</bug_when>
    <thetext>This looks chromium-only.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443398</commentid>
    <comment_count>3</comment_count>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2011-07-28 01:03:13 -0700</bug_when>
    <thetext>This seems to have been fixed by now.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>64700</attachid>
            <date>2010-08-18 06:47:31 -0700</date>
            <delta_ts>2010-08-18 06:47:31 -0700</delta_ts>
            <desc>Repro</desc>
            <filename>repro.html</filename>
            <type>text/html</type>
            <size>84</size>
            <attacher name="Berend-Jan Wever">skylined</attacher>
            
              <data encoding="base64">PGJvZHkgb25sb2FkPSIKICBkb2N1bWVudC53cml0ZSgnPHN2Zz48Zm9ybT48c3RyaWtlPjxmb3Jt
PicpOwogIGRvY3VtZW50LmNsb3NlKCk7CiI+
</data>

          </attachment>
      

    </bug>

</bugzilla>