[gs-bugs] [Bug 692110] New: unintialized read near image_render_interpolate_icc

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Wed Mar 30 01:12:55 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=692110

           Summary: unintialized read near image_render_interpolate_icc
           Product: Ghostscript
           Version: other
          Platform: PC
        OS/Version: Windows 7
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Color
        AssignedTo: michael.vrhel at artifex.com
        ReportedBy: tor.andersson at artifex.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0


GhostXPS, release build only, on fts_10xx.xps.

valgrind ./xps/obj/gxps -sDEVICE=x11 -r72 fts_10xx.xps

==16536== Conditional jump or move depends on uninitialised value
==16536==    at 0x824D492: gx_unit_frac 
==16536==    by 0x82774EA: image_render_interpolate_icc 
==16536==    by 0x8269DD9: gx_image1_plane_data 
==16536==    by 0x82320D8: gs_image_next_planes 
==16536==    by 0x823231C: gs_image_next 
==16536==    by 0x82AF5C4: xps_paint_image_brush_imp 
==16536==    by 0x82AF7A3: xps_paint_image_brush 
==16536==    by 0x82AD994: xps_paint_tiling_brush_clipped 
==16536==    by 0x82AE285: xps_paint_tiling_brush 
==16536==    by 0x82AE4A1: xps_remap_pattern 
==16536==    by 0x80602C8: gx_pattern_load 
==16536==    by 0x824F9D1: gx_remap_color 

If I return 0 immediately from image_render_interpolate_icc
(shorting out of the function), the UMR and subsequent valgrind
warnings (and regression indeterminisms) disappear.

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list