fgokey / crashrpt

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

Potential crash in CrashSender.exe #238

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Cannot reproduce with accuracy, but I can see cases where this happens, but do 
not understand why.

What is the expected output? What do you see instead?

What version of CrashRpt are you using?
1.4.0.2

What is your version of Visual Studio?
VS2008

What is your version of Windows operating system?
Win 7

Please provide any additional information below.
In CErrorReportSender::Finalize() you do a call

 Utility::RecycleFile(m_CrashInfo.GetReport(0)->GetErrorReportDirName(), true);  // CrashInfoReader, line 398

the call to GetReport(0) returns NULL and then the call to
m_CrashInfo.GetReport(0)->GetErrorReportDirName() will be called with a 'this' 
set to 0 and the access to m_sErrorReportDirName (at CrashInfoReader, line 82) 
will generate an access violation.

Original issue reported on code.google.com by hans.wal...@gmail.com on 28 Mar 2014 at 11:08

GoogleCodeExporter commented 9 years ago

Original comment by zexspect...@gmail.com on 13 Apr 2014 at 8:25