commit | 7e6c06b922704573a4691616b49cdf1ceda019ee | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@golang.org> | Sat Feb 13 11:02:00 2016 +1100 |
committer | Nigel Tao <nigeltao@golang.org> | Sat Feb 13 11:02:00 2016 +1100 |
tree | 58fa6b93bbe6fd9daa1cee3828d53d5122adffd3 | |
parent | 5979233c5d6225d4a8e438cdd0b411888449ddab [diff] |
Reject zero offsets in a length/offset pair. The spec at https://github.com/google/snappy/blob/master/format_description.txt says that, "Offsets of zero can be encoded, but are not legal".