<?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>32822</bug_id>
          
          <creation_ts>2009-12-21 06:52:03 -0800</creation_ts>
          <short_desc>WebCore::ApplyStyleCommand::removeInlineStyle ReadAV@NULL (18fa82a60d48c7965db66b916a546328)</short_desc>
          <delta_ts>2009-12-31 02:25:30 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows Vista</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>32823</dup_id>
          
          <bug_file_loc>http://skypher.com/SkyLined/Repro/WebKit/Bug%2032822%20-%20WebCore..ApplyStyleCommand..removeInlineStyle%20ReadAV@NULL%20(18fa82a60d48c7965db66b916a546328)/repro.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Berend-Jan Wever">skylined</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>enrica</cc>
    
    <cc>eric</cc>
    
    <cc>webkit9</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>173958</commentid>
    <comment_count>0</comment_count>
      <attachid>45326</attachid>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2009-12-21 06:52:03 -0800</bug_when>
    <thetext>Created attachment 45326
Repro

Id:          WebCore::ApplyStyleCommand::removeInlineStyle ReadAV@NULL (18fa82a60d48c7965db66b916a546328)
Description: Attempt to read from NULL pointer in WebCore::ApplyStyleCommand::removeInlineStyle
Stack:
  WebCore::ApplyStyleCommand::removeInlineStyle
  WebCore::ApplyStyleCommand::applyInlineStyle
  WebCore::ApplyStyleCommand::doApply
  WebCore::EditCommand::apply
  WebCore::applyCommand
  WebCore::Editor::applyStyle
  WebCore::executeApplyStyle
  WebCore::executeForeColor
  WebCore::Editor::Command::execute
  WebCore::Document::execCommand
  WebCore::DocumentInternal::execCommandCallback
Repro:
&lt;BODY&gt;&lt;/BODY&gt;
&lt;SCRIPT&gt;
  document.designMode=&quot;on&quot;;
  document.execCommand(&quot;selectall&quot;);
  document.execCommand(&quot;InsertHorizontalRule&quot;);
  document.execCommand(&quot;SelectAll&quot;);
  document.execCommand(&quot;ForwardDelete&quot;);
  document.designMode=&quot;off&quot;;
  document.execCommand(&quot;undo&quot;);
  document.designMode=&quot;on&quot;;
  document.execCommand(&quot;ForeColor&quot;,false,3);
&lt;/SCRIPT&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>173959</commentid>
    <comment_count>1</comment_count>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2009-12-21 06:53:38 -0800</bug_when>
    <thetext>Online repro</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>175968</commentid>
    <comment_count>2</comment_count>
    <who name="Mike Moretti">webkit9</who>
    <bug_when>2009-12-30 10:18:25 -0800</bug_when>
    <thetext>This bug is a dup of 32823; it&apos;s the &quot;undo&quot; in designMode off that causes the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176159</commentid>
    <comment_count>3</comment_count>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2009-12-31 02:25:30 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 32823 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>45326</attachid>
            <date>2009-12-21 06:52:03 -0800</date>
            <delta_ts>2009-12-21 06:52:03 -0800</delta_ts>
            <desc>Repro</desc>
            <filename>repro.html</filename>
            <type>text/html</type>
            <size>357</size>
            <attacher name="Berend-Jan Wever">skylined</attacher>
            
              <data encoding="base64">PEJPRFk+PC9CT0RZPgo8U0NSSVBUPgogIGRvY3VtZW50LmRlc2lnbk1vZGU9Im9uIjsKICBkb2N1
bWVudC5leGVjQ29tbWFuZCgic2VsZWN0YWxsIik7CiAgZG9jdW1lbnQuZXhlY0NvbW1hbmQoIklu
c2VydEhvcml6b250YWxSdWxlIik7CiAgZG9jdW1lbnQuZXhlY0NvbW1hbmQoIlNlbGVjdEFsbCIp
OwogIGRvY3VtZW50LmV4ZWNDb21tYW5kKCJGb3J3YXJkRGVsZXRlIik7CiAgZG9jdW1lbnQuZGVz
aWduTW9kZT0ib2ZmIjsKICBkb2N1bWVudC5leGVjQ29tbWFuZCgidW5kbyIpOwogIGRvY3VtZW50
LmRlc2lnbk1vZGU9Im9uIjsKICBkb2N1bWVudC5leGVjQ29tbWFuZCgiRm9yZUNvbG9yIixmYWxz
ZSwzKTsKPC9TQ1JJUFQ+
</data>

          </attachment>
      

    </bug>

</bugzilla>