Security update for ImageMagick

This update for ImageMagick fixes the following issues:

- CVE-2016-10046: Prevent buffer overflow in draw.c caused by an incorrect length calculation (bsc#1017308)
- CVE-2016-10048: Arbitrary module could have been load because relative path were not escaped (bsc#1017310)
- CVE-2016-10049: Corrupt RLE files could have overflowed a buffer due to a incorrect length calculation (bsc#1017311)
- CVE-2016-10050: Corrupt RLE files could have overflowed a heap buffer due to a missing offset check (bsc#1017312)
- CVE-2016-10051: Fixed use after free when reading PWP files (bsc#1017313)
- CVE-2016-10052: Added bound check to exif parsing of JPEG files (bsc#1017314)
- CVE-2016-10059: Unchecked calculation when reading TIFF files could have lead to a buffer overflow (bsc#1017318)
- CVE-2016-10060: Improved error handling when writing files to not mask errors (bsc#1017319)
- CVE-2016-10061: Improved error handling when writing files to not mask errors (bsc#1017319).
- CVE-2016-10062: Improved error handling when writing files to not mask errors (bsc#1017319).
- CVE-2016-10063: Check validity of extend during TIFF file reading (bsc#1017320)
- CVE-2016-10064: Improved checks for buffer overflow when reading TIFF files (bsc#1017321)
- CVE-2016-10065: Unchecked calculations when reading VIFF files could have lead to out of bound reads (bsc#1017322)
- CVE-2016-10068: Prevent NULL pointer access when using the MSL interpreter (bsc#1017324)
- CVE-2016-10069: Add check for invalid mat file (bsc#1017325).
- CVE-2016-10070: Prevent allocating the wrong amount of memory when reading mat files (bsc#1017326)
- CVE-2016-10071: Prevent allocating the wrong amount of memory when reading mat files (bsc#1017326)
- CVE-2016-10144: Added a check after allocating memory when parsing IPL files (bsc#1020433)
- CVE-2016-10145: Fixed of-by-one in string copy operation when parsing WPG files (bsc#1020435)
- CVE-2016-10146: Captions and labels were handled incorrectly, causing a memory leak that could have lead to DoS (bsc#1020443)
- CVE-2017-5506: Missing offset check leading to a double-free (bsc#1020436)
- CVE-2017-5507: Fixed a memory leak when reading MPC files allowing for DoS (bsc#1020439)
- CVE-2017-5508: Increase the amount of memory allocated for TIFF pixels to prevent a heap buffer-overflow (bsc#1020441)
- CVE-2017-5510: Prevent out-of-bounds write when reading PSD files (bsc#1020446).
- CVE-2017-5511: A missing cast when reading PSD files could have caused memory corruption by a heap overflow (bsc#1020448)

This update removes the fix for CVE-2016-9773. ImageMagick-6 was not affected by CVE-2016-9773 and it caused a regression (at least in GraphicsMagick) (bsc#1017421).

This update was imported from the SUSE:SLE-12:Update update project.

Fixed bugs
bnc#1017421
GraphicsMagick REGRESSION: 'gm identify' segfaults on any image type
bnc#1017308
VUL-0: CVE-2016-10046: ImageMagick: Buffer overflow in draw.c
bnc#1017310
VUL-0: CVE-2016-10048: ImageMagick: Arbitrary module loading due to not escaping relative path
bnc#1017311
VUL-0: CVE-2016-10049: ImageMagick: Buffer overflow when reading corrupt RLE files
bnc#1017312
VUL-0: CVE-2016-10050: ImageMagick: Heap overflow when reading corrupt RLE files
bnc#1017313
VUL-0: CVE-2016-10051: ImageMagick: Use after free when using identify or convert
bnc#1017314
VUL-0: CVE-2016-10052: ImageMagick: Out-of-bound in exif (jpeg) reader
bnc#1017318
VUL-0: CVE-2016-10059: ImageMagick: TIFF file buffer overflow
bnc#1017320
VUL-0: CVE-2016-10063: ImageMagick: Check validity of extend during TIFF file reading
bnc#1017322
VUL-0: CVE-2016-10065: ImageMagick: Fix out of bound read in viff file handling
bnc#1020433
VUL-0: CVE-2016-10144: Imagemagick: coders/ipl.c: "ipl file missing malloc check"
bnc#1020435
VUL-0: CVE-2016-10145: Imagemagick: coders/wpg.c: off-by-one error
bnc#1020436
VUL-0: CVE-2017-5506: Imagemagick: magick/profile.c: double-free memory corruption
bnc#1020441
VUL-0: CVE-2017-5508: Imagemagick: PushQuantumPixel heap buffer-overflow
bnc#1020443
VUL-0: CVE-2016-10146: Imagemagick: memory leak in caption and label handling
bnc#1020446
VUL-0: CVE-2017-5510: Imagemagick: coders/psd.c: out-of-bounds write flaw in psd file handling
bnc#1020448
VUL-0: CVE-2017-5511: Imagemagick: coders/psd.c: memory corruption heap overflow
bnc#1017319
VUL-0: CVE-2016-10060, CVE-2016-10061, CVE-2016-10062: ImageMagick: Check return of write function
bnc#1017321
VUL-0: CVE-2016-10064: ImageMagick: Improved checks for buffer overflow for TIFF handling
bnc#1017324
VUL-0: CVE-2016-10068: ImageMagick: Fault in MSL interpreter
bnc#1017325
VUL-0: CVE-2016-10069: ImageMagick: Add check for invalid mat file
bnc#1017326
VUL-0: CVE-2016-10070, CVE-2016-10071: ImageMagick: Missing out of bound checks for mat files
bnc#1020439
VUL-0: CVE-2017-5507: Imagemagick: memory leak in mpc file handling
Selected Binaries
openSUSE Build Service is sponsored by