[cfe-dev] Memory corruption bug in CodeGenTypes
Eli Friedman
eli.friedman at gmail.com
Wed Jan 30 18:24:52 PST 2008
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.
-Eli
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: typesmemcorrupt.txt
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080130/76b19685/attachment.txt>
More information about the cfe-dev
mailing list