[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
Wed Aug 31 07:19:32 UTC 2016
control: tags -1 + fixed-upstream
control: tags -1 + patch
On Wed, Aug 31, 2016 at 9:19 AM, roucaries bastien
<roucaries.bastien+debian at gmail.com> wrote:
> Fixed upstream by
> https://github.com/ImageMagick/ImageMagick/commit/f6242e725c819a69bee2a444f8e4a3c7718b2b3f
>
> On Wed, Aug 31, 2016 at 9:14 AM, roucaries bastien
> <roucaries.bastien+debian at gmail.com> wrote:
>> Bad pach is :
>> commit 26d910675e0cd1b62e988139dba8eb11931260ac
>> Author: Cristy <urban-warrior at imagemagick.org>
>> Date: Sat Jan 30 09:37:10 2016 -0500
>>
>> Fix out of bound in quantum handling
>>
>> Bug: https://github.com/ImageMagick/ImageMagick/issues/105
>> bug-ubuntu:
>> https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1539053
>> origin: upstream,
>> https://github.com/ImageMagick/ImageMagick/commit/c4e63ad30bc42da691f2b5f82a24516dd6b4dc70
>> bug-debian: https://bugs.debian.org/832506
>>
>> 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.
>>>
>>> ---
>>> 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