martinkou/bson — pull request #14 by jchia (2012-04-18 00:59:12+00:00)
Title: For Issue 13

The codec is generally not quite strict when decoding documents. This change causes early failure in case the document is shorter than it needs to be, which addresses the issue.