-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash in ISOProtectionSystemSpecificHeaderBox::parse with large keyID counts #15027
Merged
webkit-commit-queue
merged 1 commit into
WebKit:main
from
aestes:eng/Crash-in-ISOProtectionSystemSpecificHeaderBoxparse-with-large-keyID-counts
Jun 16, 2023
Merged
Crash in ISOProtectionSystemSpecificHeaderBox::parse with large keyID counts #15027
webkit-commit-queue
merged 1 commit into
WebKit:main
from
aestes:eng/Crash-in-ISOProtectionSystemSpecificHeaderBoxparse-with-large-keyID-counts
Jun 16, 2023
Conversation
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
EWS run on previous version of this PR (hash ca22e64) |
jyavenard
approved these changes
Jun 16, 2023
ca22e64
to
9d08693
Compare
EWS run on previous version of this PR (hash 9d08693) |
9d08693
to
22ea988
Compare
EWS run on current version of this PR (hash 22ea988) |
β¦ counts https://bugs.webkit.org/show_bug.cgi?id=258174 rdar://110412566 Reviewed by Jean-Yves Avenard. KeyID is 16 bytes, so it's possible for a `pssh` box to specify a `keyIDCount` large enough that the following keyIDs array cannot be contained by a Vector. To account for this, try to reserve capacity for `keyIDCount` in m_keyIDs before resizing and return `false` if the reservation fails. * Source/WebCore/platform/graphics/iso/ISOProtectionSystemSpecificHeaderBox.cpp: (WebCore::ISOProtectionSystemSpecificHeaderBox::parse): Canonical link: https://commits.webkit.org/265256@main
22ea988
to
3b3afcc
Compare
Committed 265256@main (3b3afcc): https://commits.webkit.org/265256@main Reviewed commits have been landed. Closing PR #15027 and removing active labels. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
3b3afcc
22ea988
π wincairoπ§ͺ api-macπ§ͺ gtk-wk2π tvπ§ͺ mac-AS-debug-wk2π tv-sim