<?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>51084</bug_id>
          
          <creation_ts>2010-12-14 18:30:31 -0800</creation_ts>
          <short_desc>In KeyFrameAnimation.cpp, the progress variable is uninitialized, leading to compilation failure</short_desc>
          <delta_ts>2011-01-14 17:20:14 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>asharif.tools</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>asharif.tools</cc>
    
    <cc>commit-queue</cc>
    
    <cc>fishd</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>322426</commentid>
    <comment_count>0</comment_count>
    <who name="">asharif.tools</who>
    <bug_when>2010-12-14 18:30:31 -0800</bug_when>
    <thetext>In KeyFrameAnimation.cpp, the progress variable is uninitialized, leading to compilation failure on Linux when compiled with -Werror using gcc. This happens because the function fetchIntervalEndpointsForProperty may have a path that will leave progress uninitialized if it is inlined.

The progress variable can simply be set to 0 when created as shown here:

http://codereview.chromium.org/5832001/diff/1/third_party/WebKit/WebCore/page/animation/KeyframeAnimation.cpp</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>322491</commentid>
    <comment_count>1</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2010-12-14 20:53:46 -0800</bug_when>
    <thetext>Would you be so kind as to post your patch to this bug report following the instructions provided at http://webkit.org/coding/contributing.html?  Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327380</commentid>
    <comment_count>2</comment_count>
      <attachid>77579</attachid>
    <who name="">asharif.tools</who>
    <bug_when>2010-12-28 14:23:02 -0800</bug_when>
    <thetext>Created attachment 77579
Patch to fix this problem. It includes a ChangeLog entry.

Sorry about the delay. I didn&apos;t realize you had replied. This patch initializes the progress variable to 0.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>332606</commentid>
    <comment_count>3</comment_count>
    <who name="">asharif.tools</who>
    <bug_when>2011-01-11 13:28:05 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Created an attachment (id=77579) [details]
&gt; Patch to fix this problem. It includes a ChangeLog entry.
&gt; 
&gt; Sorry about the delay. I didn&apos;t realize you had replied. This patch initializes the progress variable to 0.0.

Ping. Is this bug fixed? Can you update the status after applying my patch?

Thanks,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>333929</commentid>
    <comment_count>4</comment_count>
    <who name="">asharif.tools</who>
    <bug_when>2011-01-13 14:17:36 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; Created an attachment (id=77579) [details] [details]
&gt; &gt; Patch to fix this problem. It includes a ChangeLog entry.
&gt; &gt; 
&gt; &gt; Sorry about the delay. I didn&apos;t realize you had replied. This patch initializes the progress variable to 0.0.
&gt; 
&gt; Ping. Is this bug fixed? Can you update the status after applying my patch?
&gt; 
&gt; Thanks,

Please review and apply this patch.

I would like for this patch to be integrated into Chromium soon.

Thanks,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>334452</commentid>
    <comment_count>5</comment_count>
      <attachid>78969</attachid>
    <who name="">asharif.tools</who>
    <bug_when>2011-01-14 11:35:18 -0800</bug_when>
    <thetext>Created attachment 78969
This is an update to the earlier patch and fixes progress in both locations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>334766</commentid>
    <comment_count>6</comment_count>
      <attachid>78969</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-01-14 17:20:08 -0800</bug_when>
    <thetext>Comment on attachment 78969
This is an update to the earlier patch and fixes progress in both locations.

Clearing flags on attachment: 78969

Committed r75850: &lt;http://trac.webkit.org/changeset/75850&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>334767</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-01-14 17:20:14 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>77579</attachid>
            <date>2010-12-28 14:23:02 -0800</date>
            <delta_ts>2011-01-14 11:35:18 -0800</delta_ts>
            <desc>Patch to fix this problem. It includes a ChangeLog entry.</desc>
            <filename>initialize_progress.patch</filename>
            <type>text/plain</type>
            <size>1309</size>
            <attacher>asharif.tools</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA3NDcyNSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTUgQEAKKzIwMTAtMTItMjggIEFobWFkIFNoYXJpZiAgPGFzaGFyaWZAZ29vZ2xl
LmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBX
aGVuIGlubGluZyBpcyBwZXJmb3JtZWQsIHRoZSBwcm9nc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
Rm9yUHJvcGVydHkocHJvcGVydHksIGZyb21TdHlsZSwgdG9TdHlsZSwgcHJvZ3Jlc3MpOwogICAg
IAogICAgICAgICBib29sIG5lZWRzQW5pbSA9IGJsZW5kUHJvcGVydGllcyh0aGlzLCBwcm9wZXJ0
eSwgYW5pbWF0ZWRTdHlsZS5nZXQoKSwgZnJvbVN0eWxlLCB0b1N0eWxlLCBwcm9ncmVzcyk7Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>78969</attachid>
            <date>2011-01-14 11:35:18 -0800</date>
            <delta_ts>2011-01-14 17:20:08 -0800</delta_ts>
            <desc>This is an update to the earlier patch and fixes progress in both locations.</desc>
            <filename>progress.patch</filename>
            <type>text/plain</type>
            <size>1862</size>
            <attacher>asharif.tools</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDc1ODA1
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTYgQEAKKzIwMTEtMDEt
MTQgIEFobWFkIFNoYXJpZiAgPGFzaGFyaWYudG9vbHNAZ21haWwuY29tPgorCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFdoZW4gaW5saW5pbmcgaXMgcGVy
Zm9ybWVkLCB0aGUgcHJvZ3Jlc3MgdmFyaWFibGUgaXMKKyAgICAgICAgZGVjbGFyZWQgYXMgdW5p
bml0aWFsaXplZC4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dp
P2lkPTUxMDg0CisKKyAgICAgICAgKiBXZWJDb3JlOiBDb3BpZWQgZnJvbSBXZWJDb3JlLgorICAg
ICAgICAqIFdlYkNvcmUv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