DescriptionFix memory corruption in ANGLE shader translator.
The bug is that within each compilation cycle, all the memory allocated through T* types are freed to be reused. So if certain information is meant to outlive the cycle, it should use the std type instead of the T* type:
1) emulated function vector
2) mapped long names map
BUG=none
TEST=webgl conformance test conformance/glsl/glsl-feature-mod-gentype.html does not crash in Win Debug.
Committed: http://code.google.com/p/angleproject/source/detail?r=773
Patch Set 1 #
Total comments: 1
MessagesTotal messages: 2
|