nagyistoce / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Crash in XmlUnitTestResultPrinter::OutputXmlTestInfo #353

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The function passes the value of the file name C-string into String::Format 
without checking for NULL value. This leads to segfault only on some system as 
sprintf treatmrnt of NULL strings is platform dependent.

Should we use FormatFileLocation() there or try to keep generated XML platform 
independent?

Original issue reported on code.google.com by vladlosev on 19 Jan 2011 at 4:48

GoogleCodeExporter commented 9 years ago

Original comment by vladlosev on 20 Jan 2011 at 3:13

GoogleCodeExporter commented 9 years ago
This has been fixed in revision 540.

Original comment by vladlosev on 2 Feb 2011 at 10:07