[Pkg-gmagick-im-team] Bug#823750: PSD file handling

Bastien ROUCARIES roucaries.bastien at gmail.com
Sun May 8 13:50:01 UTC 2016


PSD file handling lead to out of bound. Fix is 4 patches:

----
Added check for bit depth 1 for PSD file

This is a partial fix of out-of-bounds read in coders/psd.c:797
ReadPSDChannelPixels

It fix psd file handling for corrupted file.

    Origin: upstream,
https://github.com/ImageMagick/ImageMagick/commit/198fffab4daf8aea88badd9c629350e5b26ec32f
    Bug-ubuntu:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1533442
    Bug: https://github.com/ImageMagick/ImageMagick/issues/83
---
    Fixed overflow in psd file handling

    It fix psd file handling for corrupted file. This is partial fix.

    Origin: upstream,
https://github.com/ImageMagick/ImageMagick/commit/6f1879d498bcc5cce12fe0c5decb8dbc0f608e5d
    Bug-ubuntu:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1533442
    Bug: https://github.com/ImageMagick/ImageMagick/issues/83
---
   Added missing call to ConstrainColormapIndex avoiding a overflow in
case of corrupted file

    It fix psd file handling for corrupted file. This is partial fix.

    Origin: upstream,
https://github.com/ImageMagick/ImageMagick/commit/e14fd0a2801f73bdc123baf4fbab97dec55919eb
    Bug-ubuntu:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1533442
    Bug: https://github.com/ImageMagick/ImageMagick/issues/83
---
   Rewrite reading pixel values for psd file

    It fix psd file handling for corrupted file. This is partial fix.

    Origin: upstream,
https://github.com/ImageMagick/ImageMagick/commit/280215b9936d145dd5ee91403738ccce1333cab1
    Bug-ubuntu:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1533442
    Bug: https://github.com/ImageMagick/ImageMagick/issues/83



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