[webkit-changes] [WebKit/WebKit] 3dcddc: Clearing BitmapImage decoded frames should should ...
Said Abou-Hallawa
noreply at github.com
Tue Apr 23 09:49:30 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3dcddc14fce35b4e931b22ebf69470ceb0d09dcb
https://github.com/WebKit/WebKit/commit/3dcddc14fce35b4e931b22ebf69470ceb0d09dcb
Author: Said Abou-Hallawa <said at apple.com>
Date: 2024-04-23 (Tue, 23 Apr 2024)
Changed paths:
M Source/WebCore/platform/graphics/BitmapImageSource.cpp
Log Message:
-----------
Clearing BitmapImage decoded frames should should not overflow
https://bugs.webkit.org/show_bug.cgi?id=273098
rdar://126591872
Reviewed by Simon Fraser.
When destroying the decoded frames, BitmapImageSource::destroyDecodedData()
should loop through the frames Vector only and do not assume its size is be the
same as frameCount.
* Source/WebCore/platform/graphics/BitmapImageSource.cpp:
(WebCore::BitmapImageSource::destroyDecodedData):
Canonical link: https://commits.webkit.org/277875@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list