Thanks Tom,

I believe your commit has fixed the specific problem, however, there is more
similar string related heap corruptions popping up in the debug mode, I
think I can try to fix them in a similar way you did to fix this one, if
it's OK

Thanks.

Godspeed

-----Original Message-----
From: Thomas Geymayer [mailto:tom...@gmail.com] 
Sent: Saturday, March 02, 2013 5:20 PM
To: flightgear-devel@lists.sourceforge.net
Subject: Re: [Flightgear-devel] How to get my bug fix into the git?

Am 2013-03-03 00:49, schrieb Zhitao Li:
> I have seem [1], and I don't think it is caused by the linking 
> problem, I check and experimented the cmake parameter, it's more 
> likely the implementation of the function in visual studio that's 
> causing it. (the
> malloc() within the strdup() is probably using a different heap than 
> the outside free())

As I normally don't use Windows/VS I don't know if this is really possible.

Anyhow, I have just pushed a fix which replaces the manual string copying
with directly using std::string. Please test if this also solves your
problem.

Tom

--
Thomas Geymayer  www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
------------------------------------------------------------------------
      Student of Computer Science @ Graz University of Technology
------------------------------- Austria --------------------------------

----------------------------------------------------------------------------
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for
free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to