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

null pointer passed as argument 2, which is declared to never be null (tiff.c) #298

Closed
asarubbo opened this issue Nov 9, 2016 · 2 comments
Labels

Comments

@asarubbo
Copy link

asarubbo commented Nov 9, 2016

On 7.0.3.6 with the security policy enabled:

# identify $FILE
coders/tiff.c:655:39: runtime error: null pointer passed as argument 2, which is declared to never be null
MagickCore/string_.h:76:23: note: nonnull attribute specified here

Testcase: https://github.com/asarubbo/poc/blob/master/00049-imagemagick-pointernerverbenull

@mikayla-grace
Copy link

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.

@dlemstra
Copy link
Member

Can you confirm this is resolved @asarubbo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants