commit | f5466f1dff1dd2a94a6f05d2707e9e1c2ccd19fc | [log] [tgz] |
---|---|---|
author | Damian Gryski <damian@gryski.com> | Tue Jul 21 08:51:40 2015 +0200 |
committer | Damian Gryski <damian@gryski.com> | Wed Jul 29 11:31:05 2015 +0200 |
tree | cc35a81e663f0367ef2dd5d8490a41124c6bdfc5 | |
parent | f4b10fa94214ba1b3d4068beeda8f920bf352cf0 [diff] |
Fix max block size check Since Go 1.1, `int` has been 64-bits on 64-bit platforms instead of 32-bits. This patch fixes the check to make sure the uncompressed length is at most 2^32-1 bytes. Fixes #15