Bug in tritri.cpp

Ralph Campbell <[email protected]> Sat, 11 Jan 2014 20:45:02 -0800
Newsgroups gmane.comp.graphics.crystalspace.devel
Message-ID <1389501902.14462.3.camel@host107>
Coverity found an obvious bug in HandlePointsInTriangle()
in libs/csgeom/tritri.cpp but I'm not sure what the fix is.

It accesses tri2[2] but clearly declares tri2[2].

This code hasn't changed in a long time so it's an old bug.


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk