Fix incorrect testing for the end of the both strings in CStrInCStrNoCase. This...
authorTed Kremenek <kremenek@apple.com>
Wed, 22 Oct 2008 23:16:52 +0000 (23:16 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 22 Oct 2008 23:16:52 +0000 (23:16 +0000)
commit30f100e14056c2fd88a3448c8bf89b656e7d8584
tree30ee18073df7de7f0ee605db6a6b6d19070be936
parentc64bdf6aa5160471dfda49a78d4a0e08bc07ac0d
Fix incorrect testing for the end of the both strings in CStrInCStrNoCase.  This could cause a read-out-of-bounds error if s2 is smaller than s1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58009 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringExtras.h