Skip to content

ghostpdl-9.51rc2_test

@chris-liddell chris-liddell tagged this 26 Feb 08:18
Coverity complained about setting dash.pattern = NULL and "Passing "&dash"
to "gstate_copy_dash", which dereferences null "dash.pattern" which is either
wrong, or *very* misleading. We assume that it means that gx_set_dash() *may*
access that pointer.

In truth, this can never happen in these circumstances.

Nevertheless, in gx_set_dash() is we have a NULL mem (allocator) pointer and the
dash pattern pointer is NULL at the point we have to copy into it, then throw
an error.
Assets 2
Loading