[cfe-dev] Memory corruption bug in CodeGenTypes
Chris Lattner
clattner at apple.com
Thu Jan 31 23:35:45 PST 2008
On Jan 30, 2008, at 6:24 PM, Eli Friedman wrote:
> Found a pretty serious issue in CodeGenTypes::ConvertNewType: it grabs
> a reference to a cell in a map, modifies the map by instantiating the
> members of the struct, then writes to the map. Obviously, this is not
> a good thing...
>
> Patch attached, although I'm not sure if it's the right way to fix
> this.
>
This is the right way to fix it, please apply. Thanks Eli!
-Chris
More information about the cfe-dev
mailing list