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

Missing check for fputc function in multiple files. #1199

Closed
Young-X opened this issue Jul 5, 2018 · 2 comments
Closed

Missing check for fputc function in multiple files. #1199

Young-X opened this issue Jul 5, 2018 · 2 comments

Comments

@Young-X
Copy link

Young-X commented Jul 5, 2018

Prerequisites

  • [Y] I have written a descriptive issue title
  • [Y] I have verified that I am using the latest version of ImageMagick
  • [Y] I have searched open and closed issues to ensure it has not already been reported

Description

There are 4 functions (ReadDCMImage, ReadPWPImage, ReadCALSImage, ReadPICTImage) that miss check for fputc function. As issued in #196.
And patch for #196 is 4e914bb.

I think there should be add status flag when "fputc(c, file) != c".

  • ImageMagick version: latest version
urban-warrior pushed a commit to ImageMagick/ImageMagick6 that referenced this issue Jul 5, 2018
@urban-warrior
Copy link
Contributor

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 dlemstra closed this as completed Jul 7, 2018
@nohmask
Copy link

nohmask commented Sep 7, 2018

This was assigned CVE-2018-16643.

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

No branches or pull requests

4 participants