realXtend/naali — Issue #386: Ogre leaks GPU locks and crashes if tangents are calculated for a mesh without normals.
Author: juj
Created: 2012-02-23 18:54:18+00:00
State: open
Labels: Bug, Ogre, Security

Trying to call OgreMesh::buildTangentVectors() on a mesh that does not contain vertex normals will cause Ogre to throw an exception and leak its GPU buffer locks.

Afterwards the function will assert/crash on a null pointer trying to lock again buffers that are already locked.

Occurs on a mesh 'doesnotwork.mesh', archived and available on request.