{"ref":"refs/heads/master","commits":[{"author":{"name":"Dave Cheney","email":"bfcdf3e6ca6cef45543bfbb57509c92aec9a39fb@cheney.net"},"url":"https://api.github.com/repos/tav/go/commits/fcd90062b1d06d1398a677bf429948fff36d109a","message":"exp/ssh: fix length header leaking into channel data streams.\n\nThe payload of a data message is defined as an SSH string type,\nwhich uses the first four bytes to encode its length. When channelData\nand channelExtendedData were added I defined Payload as []byte to\nbe able to use it directly without a string to []byte conversion. This\nresulted in the length data leaking into the payload data.\n\nThis CL fixes the bug, and restores agl's original fast path code.\n\nAdditionally, a bug whereby s.lock was not released if a packet arrived\nfor an invalid channel has been fixed.\n\nFinally, as they were no longer used, I have removed\nthe channelData and channelExtedendData structs.\n\nR=agl, rsc\nCC=golang-dev\nhttp://codereview.appspot.com/5330053\n\nCommitter: Adam Langley <agl@golang.org>","sha":"fcd90062b1d06d1398a677bf429948fff36d109a"}],"head":"fcd90062b1d06d1398a677bf429948fff36d109a","size":1,"push_id":47994180}