[Pkg-gmagick-im-team] Bug#835488: Bug#835488: imagemagick: Regression after security update to 8:6.8.9.9-5+deb8u4, unable to convert PDF files in PHP

roucaries bastien roucaries.bastien+debian at gmail.com
Fri Aug 26 21:20:14 UTC 2016


On Fri, Aug 26, 2016 at 11:17 AM, Tommie Van Mechgelen <me at tommie.it> wrote:
> Package: imagemagick
> Version: 8:6.8.9.9-5+deb8u4
> Severity: important
>
> Dear Maintainer,
>
> After the upgrade to this version, converting PDF-files in PHP stopped working.
>
> A small PHP test application throws an exception.

Does it work using command line ?

Bastien
>
> ---
> unable to read image data `/tmp/magick-28249kJukMY5BQuJr1' @ error/pnm.c/ReadPNMImage/617
> The PDF contains 0 pages
> ---
>
> The expected result is no exception and it should display the number of pages.  This worked with version 8:6.8.9.9-5+deb8u3.
>
> Thanks for investigating this.
>
> PHP code:
> ---------
> <?php
>
> $imagick = new Imagick();
> try {
>     $imagick->pingImage('bug.pdf');
> }
> catch(ImagickException $e) {
>     print $e->getMessage() . "\n";
> }
>
> $pages = $imagick->getNumberImages();
> print "The PDF contains $pages pages\n";
>
>
> -- Package-specific info:
> ImageMagick program version
> ---------------------------
> animate:  ImageMagick 6.8.9-9 Q16 x86_64 2016-08-25 http://www.imagemagick.org
> compare:  ImageMagick 6.8.9-9 Q16 x86_64 2016-08-25 http://www.imagemagick.org
> convert:  ImageMagick 6.8.9-9 Q16 x86_64 2016-08-25 http://www.imagemagick.org
> composite:  ImageMagick 6.8.9-9 Q16 x86_64 2016-08-25 http://www.imagemagick.org
> conjure:  ImageMagick 6.8.9-9 Q16 x86_64 2016-08-25 http://www.imagemagick.org
> display:  ImageMagick 6.8.9-9 Q16 x86_64 2016-08-25 http://www.imagemagick.org
> identify:  ImageMagick 6.8.9-9 Q16 x86_64 2016-08-25 http://www.imagemagick.org
> import:  ImageMagick 6.8.9-9 Q16 x86_64 2016-08-25 http://www.imagemagick.org
> mogrify:  ImageMagick 6.8.9-9 Q16 x86_64 2016-08-25 http://www.imagemagick.org
> montage:  ImageMagick 6.8.9-9 Q16 x86_64 2016-08-25 http://www.imagemagick.org
> stream:  ImageMagick 6.8.9-9 Q16 x86_64 2016-08-25 http://www.imagemagick.org
>
> -- System Information:
> Debian Release: 8.5
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages imagemagick depends on:
> ii  imagemagick-6.q16  8:6.8.9.9-5+deb8u4
>
> imagemagick recommends no packages.
>
> imagemagick suggests no packages.
>
> -- no debconf information
>
> _______________________________________________
> Pkg-gmagick-im-team mailing list
> Pkg-gmagick-im-team at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-gmagick-im-team



More information about the Pkg-gmagick-im-team mailing list