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

also set png max chunk malloc when reading buffer #1424

Merged
merged 1 commit into from Sep 11, 2019

Conversation

@MDrollette
Copy link
Contributor

commented Sep 10, 2019

A previous change increased the max malloc when reading a png from a file. This PR applies the same configuration when reading from an in-memory buffer.

@jcupitt jcupitt merged commit 6489833 into libvips:master Sep 11, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@jcupitt

This comment has been minimized.

Copy link
Member

commented Sep 11, 2019

Good idea, thanks very much!

Let's commit this, then refactor a bit to make sure this is only done in one place.

jcupitt added a commit that referenced this pull request Sep 11, 2019
reorganise vipspng a little
so we only set max malloc in one place

see #1424

@MDrollette MDrollette deleted the OrderMyGear:png-max-malloc-buffer branch Sep 11, 2019

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