[PATCH] Fix for bitcode reader crash on invalid input [PR18704]

Reid Kleckner rnk at google.com
Wed Feb 26 10:46:00 PST 2014


The binary content of the .bc file isn't present in the diff.  Can you
attach it, and maybe paste the output of llvm-bcanalyzer into the test case
as a comment?  Also, the fix doesn't look correct.  It looks like
subsequent Arguments might leak, although that isn't really critical.


On Wed, Feb 26, 2014 at 7:37 AM, Dinesh Dwivedi <dinesh.d at samsung.com>wrote:

> Attaching patch for PR18704. I have just gone through back-trace for the
> assert [dyn_cast was getting applied to NULL value], locate code causing
> this and added check to print error for NULL values.
>
> Regards
> Dinesh Dwivedi
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140226/27fed2e4/attachment.html>


More information about the llvm-commits mailing list