OSDN Git Service

Tighten up prototype verification of strchr and strrchr to avoid a crash in the very...
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 30 Sep 2010 11:21:59 +0000 (11:21 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 30 Sep 2010 11:21:59 +0000 (11:21 +0000)
commit4c75679b1c8ac0455a6496c91ac2ef5f59b6b76d
tree6aa4fcfc4b1f269bb19cdf1a90b888c984bb29d6
parent5c0d472b6ebc4408b97d12e1e545cafdcbd50adf
Tighten up prototype verification of strchr and strrchr to avoid a crash in the very unlikely case that someone passes an integer > i64 to strchr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115144 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SimplifyLibCalls.cpp