Hi everyone,<div><br></div><div>We have met a run time crash when using a debug VS build under Windows due to potential of using an uninitialized variable. By looking at the code, max_vx could also be an uninitialized value. The fix is to initial that variable to 0. The version we are using is 0.21.4.</div>
<div><br></div><div>Thanks,</div><div>Gang</div><div><br></div><div>---</div><div><br></div><div><div>Index: pixman/pixman-fast-path.h</div><div>===================================================================</div><div>
--- pixman/pixman-fast-path.h (revision 233)</div><div>+++ pixman/pixman-fast-path.h (revision 234)</div><div>@@ -265,7 +265,7 @@</div><div> dst_type_t *dst_line; \</div>
<div> src_type_t *src_first_line; \</div><div> int y; \</div>
<div>- pixman_fixed_t max_vx = max_vx; /* suppress uninitialized variable warning */ \</div><div>+ pixman_fixed_t max_vx = 0; \</div><div>
pixman_fixed_t max_vy; \</div><div> pixman_vector_t v; \</div><div> pixman_fixed_t vx, vy; \</div>
</div><div><br></div>