matttproud/golang_protobuf_extensions — pull request #1 by matttproud (2013-07-12 16:08:47+00:00)
Title: Short circuit decoding if no data after header.

This commit introduces an immediate decode and exit behavior if the
currently-extracted payload is the size of the initial header size
for the varint, which prevents zero-length allocations with ``make``.