google/liquidfun — pull request #18 by unitfloat (2014-06-13 00:14:51+00:00)
Title: Fix possible crash in FindItemIndexInFixedSet.

std::lower_bound() returns "last" when "item" isn't found. This fix avoids passing "last" to "set.GetIndex()".