[patch] Fix use after free in BitcodeReader.cpp error path

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Oct 30 20:38:28 PDT 2013


> It is just intended to be a debugging aid; I can live without it as long as
> you can live with me cursing your name when I next get this error message.
> :-P

OK, since everyone else prefers non-fatal errors, this patch just
fixes the use after free by using a fixed error message.

In a followup patch I will try to convert this to use error_code.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 1624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131030/4190b1ce/attachment.bin>


More information about the llvm-commits mailing list