oizma / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Program::resetInfoLog doesn't null out mInfoLog #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
resetInfoLog doesn't null out mInfoLog, leading to crashes in Program::validate 
if appendToInfoLog is called when there was a previous info log.  (That's not 
the most clear explanation; basically there's a double-free going on.)

Simple patch is attached, against r405.  (WebGL test suite caught this, debug 
win32 build.)

Original issue reported on code.google.com by vladim...@gmail.com on 30 Aug 2010 at 11:46

Attachments:

GoogleCodeExporter commented 9 years ago
fix looks correct.  I'll integrate it.

Original comment by dan...@transgaming.com on 31 Aug 2010 at 1:49

GoogleCodeExporter commented 9 years ago
Integrated in r407.

Thanks!
Daniel

Original comment by dan...@transgaming.com on 31 Aug 2010 at 1:56