-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 265870.611@safari-7616.2.9.10-branch (6de8390). <bug>
Cherry-pick 505f26e. rdar://116293231 VP9 additional changes related to CVE-2023-5217 rdar://116293231 Reviewed by Jean-Yves Avenard. Cherry-picking patches that do hardening of VP9 encoder reconfiguration: - 02ab555e992c191e5c509ed87b3cc48ed915b447 - 263682c9a29395055f3b3afe2d97be1828a6223f I had to update CHECK_MEM_ERROR call site since we need to pass cm currently, while they do pass cm->error upstream. While we do not think we are exercising this code path of reconfiguring while encoding, it is future proof and low risk to cherry-pick these changes. * Source/ThirdParty/libwebrtc/Source/third_party/libvpx/source/libvpx/test/resize_test.cc: * Source/ThirdParty/libwebrtc/Source/third_party/libvpx/source/libvpx/vp9/common/vp9_alloccommon.c: (free_seg_map): (vp9_free_context_buffers): (vp9_alloc_context_buffers): * Source/ThirdParty/libwebrtc/Source/third_party/libvpx/source/libvpx/vp9/encoder/vp9_encoder.c: (free_copy_partition_data): (vp9_change_config): Canonical link: https://commits.webkit.org/267815.170@safari-7617-branch Canonical link: https://commits.webkit.org/265870.611@safari-7616.2.9.10-branch
- Loading branch information
Showing
3 changed files
with
36 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters