| commit | f77e98d970f686788dc59c872b6dc73c29adabf0 | [log] [tgz] |
|---|---|---|
| author | Dave Cheney <dave@cheney.net> | Tue Jul 17 10:59:23 2012 +1000 |
| committer | Dave Cheney <dave@cheney.net> | Tue Jul 17 10:59:23 2012 +1000 |
| tree | 84b70f30ffcc043e1db6c02b70a58211d8b02d37 | |
| parent | dd83c0b64f027ecefd228bee774f20fb3abd61a7 [diff] |
go.crypto/ssh: avoid recover() when handling invalid channel ids This proposal removes the use of recover() to catch invalid channel ids sent from the remote side. The recover() unfortuntaly makes debugging harder as it obscures other panic causes. Another source of panic()s exists inside marshal.go, which will be handled with in a later CL. R=agl, gustav.paul CC=golang-dev https://golang.org/cl/6404046