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
memory allocation failure in AcquireQuantumPixels (quantum.c) #268
Comments
|
ASAN appears to have limits on how much memory it will allocate. The exception is coming from within libASAN, not ImageMagick. Without ASAN, we get expected results: To prevent DOS due to unreasonably large image dimensions, add image width / height limits in the ImageMagick security policy @ http://www.imagemagick.org/script/security-policy.php. With the image dimension limits, we get: |
|
Same as here: |
|
I can reproduce after enabling the security policy described here: |
|
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow. |
|
Can you still reproduce this issue @asarubbo or can we close this issue? |
|
I can't |
A crafted image causes a memory allocation failure.
Reproduce with: identify $FILE
I'm attaching the testcase as a zip because of the github's limitation.
Tested on 7.0.3.0
The text was updated successfully, but these errors were encountered: