[Pixman] [PATCH] Fixing the runtime error in VS debug build under Windows.
gangji at google.com
Wed Mar 30 08:54:09 PDT 2011
Thanks for looking at this! I am glad that the fix is already in 0.21.6.
When we build the Debug build of the component with Visual Studio 2008,
obviously, it is smart enough to assert when we assign an uninitialized
variable to itself. It doesn't happen with Release build though.
Thank you very much!
On Wed, Mar 30, 2011 at 5:10 AM, Soeren Sandmann <sandmann at cs.au.dk> wrote:
> > 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,
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pixman