Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3dcddc14fce35b4e931b22ebf69470ceb0d09dcb
      
https://github.com/WebKit/WebKit/commit/3dcddc14fce35b4e931b22ebf69470ceb0d09dcb
  Author: Said Abou-Hallawa <s...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to