{"push_id":565407055,"size":1,"distinct_size":1,"ref":"refs/heads/rewrite-sequencefile","head":"27d1147fab19c218f763979fb7eff578c8e9cdb1","before":"71a4498f69ceeae54c323c1e55f8ed98a0476168","commits":[{"sha":"27d1147fab19c218f763979fb7eff578c8e9cdb1","author":{"email":"358f9ca79d27f14232713e8775299050ad0a1387@gmail.com","name":"Colin Marc"},"message":"Check totalLength and totalKeyLength correctly\n\nWe know that the BytesWritable serialization for the key and value both add\nfour bytes, so we can check that the record is at least 8 bytes.\n\nFor example, if there was a corrupted file, and the totalLength showed up as\n-3, we'd happily continue on with the old code, and then subtract 4 from that,\nleading to a total key length of -1 (and a panic).\n\nThis fixes #2.","distinct":true,"url":"https://api.github.com/repos/stripe/sequins/commits/27d1147fab19c218f763979fb7eff578c8e9cdb1"}]}