Skip to content
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 (backport: 5-0-x) #17568

Conversation

Projects
None yet
2 participants
@trop
Copy link
Contributor

commented Mar 27, 2019

Backport of #17465

See that PR for details.

Notes: Added missing buffer size check in nativeImage.createFromBuffer / nativeImage.addRepresentation. Data URLs only parsed according to the MIME type as PNG or JPEG.

@trop trop bot referenced this pull request Mar 27, 2019

Merged

fix: add missing buffer size check in nativeImage #17465

5 of 6 tasks complete

@trop trop bot added 5-0-x backport labels Mar 27, 2019

@electron-cation electron-cation bot removed the new-pr 🌱 label Mar 27, 2019

@codebytere codebytere merged commit f3a2c27 into electron:5-0-x Mar 27, 2019

8 checks passed

Artifact Comparison No Changes
Details
Semantic Pull Request ready to be squashed
Details
WIP Ready for review
Details
appveyor: win-ia32-testing-pr AppVeyor build succeeded
Details
appveyor: win-x64-testing-pr AppVeyor build succeeded
Details
build-linux Workflow: build-linux
Details
build-mac Workflow: build-mac
Details
release-notes Release notes found
@release-clerk

This comment has been minimized.

Copy link

commented Mar 27, 2019

Release Notes Persisted

Added missing buffer size check in nativeImage.createFromBuffer / nativeImage.addRepresentation. Data URLs only parsed according to the MIME type as PNG or JPEG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.