<?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>94642</bug_id>
          
          <creation_ts>2012-08-21 16:06:58 -0700</creation_ts>
          <short_desc>Uninitialized read from CounterDirectives</short_desc>
          <delta_ts>2012-10-18 15:42:40 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>EasyFix, HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>94587</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Elliott Sprehn">esprehn</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jaepark</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>701236</commentid>
    <comment_count>0</comment_count>
      <attachid>159789</attachid>
    <who name="Elliott Sprehn">esprehn</who>
    <bug_when>2012-08-21 16:06:58 -0700</bug_when>
    <thetext>Created attachment 159789
Reduction

If you inherit a counter-increment and you have a counter-reset in an ancestor we&apos;ll read an uninitialized int.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>706011</commentid>
    <comment_count>1</comment_count>
    <who name="Jae Hyun Park">jaepark</who>
    <bug_when>2012-08-27 19:51:52 -0700</bug_when>
    <thetext>Should the result of the attachment be the following?

10
11Bar11
11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>706028</commentid>
    <comment_count>2</comment_count>
    <who name="Elliott Sprehn">esprehn</who>
    <bug_when>2012-08-27 20:35:57 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Should the result of the attachment be the following?
&gt; 
&gt; 10
&gt; 11Bar11
&gt; 11

It should output:

10
10Bar10
10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>713980</commentid>
    <comment_count>3</comment_count>
    <who name="Elliott Sprehn">esprehn</who>
    <bug_when>2012-09-06 18:38:07 -0700</bug_when>
    <thetext>This is fixed by the refactoring in WKBug 94587.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>159789</attachid>
            <date>2012-08-21 16:06:58 -0700</date>
            <delta_ts>2012-08-21 16:06:58 -0700</delta_ts>
            <desc>Reduction</desc>
            <filename>uninit read counters.html</filename>
            <type>text/html</type>
            <size>302</size>
            <attacher name="Elliott Sprehn">esprehn</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+Cgo8c3R5bGU+CiAgICBzcGFuIHsgY291bnRlci1yZXNldDogeCAxMCB4
IDEwOyB9CgogICAgZGl2IHsKICAgICAgICBjb3VudGVyLWluY3JlbWVudDogaW5oZXJpdDsKICAg
IH0KCiAgICBkaXY6YmVmb3JlLCBkaXY6YWZ0ZXIsCiAgICBzcGFuOmJlZm9yZSwgc3BhbjphZnRl
ciB7CiAgICAgICAgY29udGVudDogY291bnRlcih4KTsKICAgIH0KCiAgICBkaXYsIHNwYW4gewog
ICAgICAgIGJvcmRlcjogMXB4IHNvbGlkIHJlZDsKICAgIH0KPC9zdHlsZT4KCjxzcGFuPjxkaXY+
QmFyPC9kaXY+PC9zcGFuPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>