[llvm-commits] [llvm] r124287 - in /llvm/trunk: lib/Transforms/Scalar/Reassociate.cpp test/Transforms/Reassociate/2011-01-26-UseAfterFree.ll

İsmail Dönmez ismail at namtrac.org
Wed Jan 26 02:19:46 PST 2011


Hi;

On Wed, Jan 26, 2011 at 12:08 PM, Duncan Sands <baldrick at free.fr> wrote:

> Author: baldrick
> Date: Wed Jan 26 04:08:38 2011
> New Revision: 124287
>
> URL: http://llvm.org/viewvc/llvm-project?rev=124287&view=rev
> Log:
> Fix PR9039, a use-after-free in reassociate.  The issue was that the
> operand being factorized (and erased) could occur several times in Ops,
> resulting in freed memory being used when the next occurrence in Ops was
> analyzed.
>
> Added:
>    llvm/trunk/test/Transforms/Reassociate/2011-01-26-UseAfterFree.ll
> Modified:
>    llvm/trunk/lib/Transforms/Scalar/Reassociate.cpp
>
>

Also fixes PR9057 , thanks!

ismail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110126/a6b7117b/attachment.html>


More information about the llvm-commits mailing list