commit | 05ad06754c0508ce9c661e84fb109037810eae20 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Sat Sep 06 01:16:42 2014 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Sat Sep 06 01:16:42 2014 +0000 |
tree | 786bde8d2a5c8444cc758bd2fbeda4809d936b9d | |
parent | 14b2112e2423ecd346895203b72b23888dd469de [diff] |
Check whether the iterator p == the end iterator before trying to dereference it. This is a speculative fix for a failure found on the valgrind buildbot triggered by a clang test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217295 91177308-0d34-0410-b5e6-96231b3b80d8