<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - pdftops -eps -level1sep regression 10 Aug 2013, some images are missing"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68321#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - pdftops -eps -level1sep regression 10 Aug 2013, some images are missing"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68321">bug 68321</a>
from <span class="vcard"><a class="email" href="mailto:williambader@hotmail.com" title="William Bader <williambader@hotmail.com>"> <span class="fn">William Bader</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=84348" name="attach_84348" title="patch to fix the problem">attachment 84348</a> <a href="attachment.cgi?id=84348&action=edit" title="patch to fix the problem">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=68321&attachment=84348'>[review]</a>
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 <<a href="mailto:aacid@kde.org">aacid@kde.org</a>>
Date: Tue Feb 19 23:59:17 2013 +0100
Initialize cSrcNonIso[3] in splashModeXBGR8
Fixes valgrind warning</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>