[Poppler-bugs] [Bug 74883] blend usage in PDF with spot colors casue random output under windows

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 12 02:28:35 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=74883

--- Comment #2 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
Created attachment 93926
  --> https://bugs.freedesktop.org/attachment.cgi?id=93926&action=edit
Patch which solves the problem

The reason for the random colors is the uninitialized local variable cBlend.
The blend functions only fills offset 0 to 3, so offset 4 up to 4 + SPOT_NCOMPS
are left uninitialized, but all offsets are stored in the bitmap.
So we need to initialize these offsets with 0!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140212/34c989c8/attachment.html>


More information about the Poppler-bugs mailing list