[cfe-commits] [PATCH] Fix undefined behavior in DarwinHostInfo
Daniel Dunbar
daniel at zuster.org
Sat May 23 11:56:28 PDT 2009
Hi Benjamin,
Thanks for the report, fixed here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090518/017611.html
- Daniel
On Sat, May 23, 2009 at 11:02 AM, Benjamin Kramer
<benny.kra at googlemail.com> wrote:
> The dtor of the temporary string returned by getOSName() will be immediately
> executed after Release is set so Release will point to already free'd
> memory.
>
> Found by valgrind.
>
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
More information about the cfe-commits
mailing list