[Poppler-bugs] [Bug 68321] pdftops -eps -level1sep regression 10 Aug 2013, some images are missing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 20 09:25:51 PDT 2013


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

--- Comment #2 from William Bader <williambader at hotmail.com> ---
Created attachment 84348
  --> https://bugs.freedesktop.org/attachment.cgi?id=84348&action=edit
patch to fix the problem

I did a git bisect and traced the problem to the commit below.
It adds the line cSrcNonIso[3] = 255 in the middle of a sequence of case
statements where the sequence above falls through to the sequence below. 
Adding this line overwrote the value in cSrcNonIso[3] set by the sequence above
for SPLASH_CMYK splashModeCMYK8.
I switched the two groups above for SPLASH_CMYK to loops (which I imagine gcc
will unroll) that do not need to fall through.
William

commit 8fb243bf11a979af8bfa36427436940706c9f71d
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue Feb 19 23:59:17 2013 +0100
 Initialize cSrcNonIso[3] in splashModeXBGR8
 Fixes valgrind warning

-- 
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/20130820/1c7e2587/attachment.html>


More information about the Poppler-bugs mailing list