libgit2/libgit2 — pull request #1601 by Merovius (2013-05-22 00:06:27+00:00)
Title: Bugfix: Return NULL in push_leaf, when trie is full

os->full was set 1, but the overflowed idx_leaf was still used to index
into os->nodes a little later. Returning NULL fixes that.

This closes #1600