]> granicus.if.org Git - llvm/commit
Fix heap-use-after-free bug in expandSDiv when the operands are
authorMichael Ilseman <milseman@apple.com>
Wed, 5 Nov 2014 21:28:24 +0000 (21:28 +0000)
committerMichael Ilseman <milseman@apple.com>
Wed, 5 Nov 2014 21:28:24 +0000 (21:28 +0000)
commit9f59bc4a0df8358e5aa7a969b49a29d89c71450f
tree9498e8f359c2120bdccc5bce56151d3ceda2a77e
parent36c4749c19e5c3657f926e65d06a4fe2761bd6ad
Fix heap-use-after-free bug in expandSDiv when the operands are
constants, as discovered by ASAN.

Patch by Mehdi Amini!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221401 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/IntegerDivision.cpp