{"push_id":1454338286,"size":1,"distinct_size":1,"ref":"refs/heads/read-boolean-corruption","head":"509445ceb8398f261040164854fce52506b397f8","before":"415e7b1445a84a7423cad7c28e0add7c9205ce57","commits":[{"sha":"509445ceb8398f261040164854fce52506b397f8","author":{"name":"Jason Tedor","email":"158e602a35675d2a0b685478824aa5995557a235@tedor.me"},"message":"Avoid corruption when deserializing booleans\n\nToday we write 0x00 or 0x01 for false or true when serializing a boolean\n(and 0x02 for null when serializing an optional boolean) but we\ndeserialize any non-zero byte to true (except when deserializing an\noptional boolean in which case we deserialize 0x02 to null, and any\nother non-zero byte to true). This too easily allows corruption into the\nstream. Instead, we should mark the stream as corrupted and stop\ndeserializing. This catches when we try to deserialize something as a\nboolean that is not a boolean.","distinct":true,"url":"https://api.github.com/repos/jasontedor/elasticsearch/commits/509445ceb8398f261040164854fce52506b397f8"}]}
{"actor":{"display_login":"jasontedor"}}