Discussion:
[gs-bugs] [Bug 696372] - Ghostscript - Seg faults found by fuzzing in check_pcm_and_separation_names (gdevdevn.c:214)
b***@artifex.com
2017-07-19 15:34:33 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=696372

Ken Sharp <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|ghostpdl-***@artifex.com |***@artifex.com
Priority|P4 |P1

--- Comment #1 from Ken Sharp <***@artifex.com> ---
Seg faults as described, assigning to Michael as some sort of colour problem.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-09-15 20:23:47 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=696372

--- Comment #2 from Michael Vrhel <***@artifex.com> ---
I tried this on Linux and Windows and am not getting a segv with the current
release.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-09-15 20:33:30 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=696372

Michael Vrhel <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |IN_PROGRESS
Ever confirmed|0 |1

--- Comment #3 from Michael Vrhel <***@artifex.com> ---
OK. I do see the issue now. Working on a fix.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-09-16 14:30:11 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=696372

Michael Vrhel <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|***@artifex.com |***@artifex.com

--- Comment #4 from Michael Vrhel <***@artifex.com> ---
Pushing this one to Ray to have a look.

There is an error condition that is behaving oddly. We are doing a push of
pdf14 clist device. The procs for the target get updated at that time. We
encounter an error while processing some text. Somehow this leads to a pop of
the pdf14 device via zpoppdf14devicefilter not zabortpdf14devicefilter. We
then do a fill after that.

The commands from the interpreter are:

pdf14 device push
begin group
begin mask
begin text group
Errors occur reading content stream
end group
Complaints about unbalanced q/Q operators
device pop

This suggests that there may be an issue if we encounter an error while in a
text group. We clearly should have done a zendtransparencytextgroup call in
here and/or zabortpdf14devicefilter.

I am going to push this to Ray to have a look at pdf_ops.ps as I suspect this
is where things need to be corrected to handle the errors in the proper manner
with respect to the pdf14 device.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-10-16 13:33:34 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=696372

Chris Liddell (chrisl) <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Product|Ghostscript |Security
Severity|normal |blocker
Component|Fuzzing |Security
Group| |Security
Version|master |unspecified
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-10-24 03:56:07 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=696372

--- Comment #5 from Ray Johnston <***@artifex.com> ---
*** Bug 696378 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-10-24 03:59:09 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=696372

--- Comment #6 from Ray Johnston <***@artifex.com> ---
*** Bug 696392 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-03 15:29:13 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=696372

Ray Johnston <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|IN_PROGRESS |RESOLVED

--- Comment #7 from Ray Johnston <***@artifex.com> ---
Fiexd in commit 8200f59f1b5aab852e23322587dda7c182fc195b
--
You are receiving this mail because:
You are the QA Contact for the bug.
Loading...