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

Prevent large allocation. #1592

Merged

Conversation

kevinbackhouse
Copy link
Collaborator

A malicious file can cause a 4GB allocation. Unless the file is actually that big, it is better to error out immediately.

Copy link
Member

@hassec hassec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@kevinbackhouse kevinbackhouse merged commit 61bd7b1 into Exiv2:0.27-maintenance Apr 27, 2021
@kevinbackhouse kevinbackhouse added forward-to-main Forward changes in a 0.28.x PR to main with Mergify and removed forward-to-main Forward changes in a 0.28.x PR to main with Mergify labels May 10, 2021
@kevinbackhouse
Copy link
Collaborator Author

@Mergifyio backport main

@mergify
Copy link
Contributor

mergify bot commented May 10, 2021

Command backport main: success

Backports have been created

@hassec hassec added this to the v0.27.4 milestone May 21, 2021
@clanmills clanmills mentioned this pull request May 22, 2021
@kevinbackhouse kevinbackhouse deleted the PreventLargeAlloc branch September 18, 2021 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants