Bug 692145

Summary: Valgrind: CachedXFORM() compares uninitialized data
Product: Ghostscript Reporter: Alex Cherepanov <alex>
Component: ColorAssignee: Michael Vrhel <michael.vrhel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P4    
Version: master   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: patch

Description Alex Cherepanov 2011-04-12 03:01:34 UTC
Created attachment 7444 [details]
patch

LCMS seems to compare all color components but gs leaves unused components
uninitialised. This causes several Valgrid warning in this case.

valgrind --track-origins=yes gs -sDEVICE=pbmraw -r72 -o /dev/null fts_25_2523.pdf

fts_25_2523.pdf is the most commonly produces rendering differences in
the regression testing. With the attached patch the run ends without warnings
(except unrelated and harmless ones). I don't know yet whether the patch fixes
the indeterminism for the lack of statistics.
Comment 1 Alex Cherepanov 2011-04-19 14:43:07 UTC

*** This bug has been marked as a duplicate of bug 691521 ***