[Webkit-unassigned] [Bug 90756] New: Fix a potential bug of BitmapImage::frameCount().
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 8 23:57:58 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=90756
Summary: Fix a potential bug of BitmapImage::frameCount().
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Images
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: luxtella at company100.net
If an ImageDecoder is not yet initialized, m_source.frameCount() returns 0. This does not mean that the frame count is actually 0. So we must set m_haveFrameCount to true only when m_frameCount is not 0.
The current code is okay because BitmapImage::frameCount() is never called before the decoder is initialized. However, this no longer holds true once we introduce parallel image decoders.
--
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