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

Chris Lattner sabre at nondot.org
Wed Oct 30 20:58:34 PDT 2013


On Oct 30, 2013, at 8:38 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:

>> 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.

LGTM, thanks Rafael!

-Chris



More information about the llvm-commits mailing list