Discussion:
[gs-bugs] [Bug 698745] - MuPDF - Division by zero in fz_new_pixmap_with_data when the library is built with NO_ICC
b***@artifex.com
2017-11-15 11:16:19 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698745

Bug ID: 698745
Summary: Division by zero in fz_new_pixmap_with_data when the
library is built with NO_ICC
Product: MuPDF
Version: master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: P4
Component: fitz
Assignee: mupdf-***@artifex.com
Reporter: ***@gmail.com
QA Contact: gs-***@ghostscript.com
Word Size: ---

Created attachment 14465
--> http://bugs.ghostscript.com/attachment.cgi?id=14465&action=edit
Test source

Steps to reproduce:

1. Build the mupdf library with NO_ICC.
2. Link `test.c` against the library built in step 1.
3. Put `test.cbz` in the same directory as the `test` binary.
4. Run `./test test.cbz`.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-15 11:16:53 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698745

--- Comment #1 from Bastien Dejean <***@gmail.com> ---
Created attachment 14466
--> http://bugs.ghostscript.com/attachment.cgi?id=14466&action=edit
Test document
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-15 15:34:21 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698745

Robin Watts <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
CC| |***@artifex.com

--- Comment #2 from Robin Watts <***@artifex.com> ---
Fixed in:

commit c1ae0d11b4bfd1f2f36e69f80ed7b7033b8e92f5
Author: Robin Watts <***@artifex.com>
Date: Wed Nov 15 12:46:39 2017 +0000

Bug 698745: Avoid broken colorspaces in NO_ICC builds.

If we attempt to make an icc colorspace in a NO_ICC build, throw
an exception. This stops us ending up with 'UNKNOWN' colorspaces
in the system.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Loading...