[Webkit-unassigned] [Bug 51084] New: In KeyFrameAnimation.cpp, the progress variable is uninitialized, leading to compilation failure
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 14 18:30:31 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=51084
Summary: In KeyFrameAnimation.cpp, the progress variable is
uninitialized, leading to compilation failure
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: asharif.tools at gmail.com
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
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list