[gs-bugs] [Bug 691987] Valgrind reports use of uninitialised variables

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Mon Feb 21 22:14:23 UTC 2011


--- Comment #4 from Henry Stiles <henry.stiles at artifex.com> 2011-02-21 22:14:21 UTC ---
(In reply to comment #3)
> The valgrind error given now, is actually different than before - control
> appears to arrive in pcl_set_cap_y with pcs->vmi_cp being undefined.
> Setting pcs->vmi_cp = 0; at the end of pcl_init_state appears to satisfy
> valgrind, but I have no idea if this is actually appropriate or not.

That I cannot reproduce, just to verify you mean:

        coord   vmi_cp = pcs->vmi_cp;

pcursor.c:258.  Right?

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