[Pixman] [PATCH] Fixing the runtime error in VS debug build under Windows.

Soeren Sandmann sandmann at cs.au.dk
Wed Mar 30 05:10:40 PDT 2011


Hi,

> 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.

Thanks for the patch, but this particular issue is already fixed in git
master and also in pixman 0.21.6 I believe.

I'm curious how this caused crashes? As far as I can tell, the variable
is not actually used uninitialized - it was only a compiler warning.


Thanks,
Soren


More information about the Pixman mailing list