couchbase/couchbase-lite-java-core — pull request #173 by mjq (2014-04-24 19:06:33+00:00)
Title: Fix crash in updateIndex when last doc is a design doc

The conditional that skips indexing design docs advances the cursor without updating the while loop condition (`keepGoing`). If the last row in the cursor is a design doc, this will cause the next loop iteration to read past the end of the cursor and throw a CursorIndexOutOfBoundsException.