[Pixman] Use of uninitialized values (?)
Christian Stadelmann
chris.privat at genodeftest.de
Thu Dec 19 13:01:46 PST 2013
Hi
I just analyzed some application using valgrind. I am getting warnings
like this:
==6514== Conditional jump or move depends on uninitialised value(s)
==6514== at 0x3C8DA72B04: sse2_combine_over_u (pixman-sse2.c:646)
==6514== by 0x3C8DA57CE3: general_composite_rect
(pixman-general.c:199)
==6514== by 0x3C8DA0B8B0: pixman_image_composite32 (pixman.c:707)
==6514== by 0x3998035976: _inplace_spans
(cairo-image-compositor.c:2477)
==6514== by 0x3998078F33: _cairo_tor_scan_converter_generate
(cairo-tor-scan-converter.c:1600)
==6514== by 0x399806B46B: composite_polygon.isra.9
(cairo-spans-compositor.c:801)
==6514== by 0x399806BEDA: clip_and_composite_polygon
(cairo-spans-compositor.c:967)
==6514== by 0x399806CEA0: _cairo_spans_compositor_fill
(cairo-spans-compositor.c:1174)
==6514== by 0x39980290BE: _cairo_compositor_fill
(cairo-compositor.c:203)
==6514== by 0x3998039C5E: _cairo_image_surface_fill
(cairo-image-surface.c:985)
==6514== by 0x399806FF43: _cairo_surface_fill (cairo-surface.c:2305)
==6514== by 0x399803128B: _cairo_gstate_fill (cairo-gstate.c:1317)
==6514== Uninitialised value was created by a stack allocation
==6514== at 0x3C8DA57A60: general_composite_rect
(pixman-general.c:111)
They have one thing in common: the uninitialised value is created at the
same position.
I am not quite solid in writing C code but isn't the value 'op'
uninitialized in this function?
regards
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/pixman/attachments/20131219/81ca1a3f/attachment.pgp>
More information about the Pixman
mailing list