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
fix: add missing buffer size check in nativeImage #17465
Conversation
Release Notes Persisted
|
/trop run backport-to 4-1-x |
The backport process for this PR has been manually initiated, |
I have automatically backported this PR to "4-1-x", please check out #17567 |
/trop run backport-to 5-0-x |
The backport process for this PR has been manually initiated, |
I have automatically backported this PR to "5-0-x", please check out #17568 |
/trop run backport-to 3-1-x |
The backport process for this PR has been manually initiated, |
I have automatically backported this PR to "3-1-x", please check out #17569 |
Description of Change
nativeImage.createFromBuffer
/nativeImage.addRepresentation
.Checklist
npm test
passesRelease Notes
Notes: Added missing buffer size check in
nativeImage.createFromBuffer
/nativeImage.addRepresentation
. Data URLs only parsed according to the MIME type as PNG or JPEG.