Browse Source
Avoid out of bounds error by using strings.HasPrefix to check for starting SSH2 text rather than assuming user input has at least 31 characters. Add tests for bad input as well. Fixes #8800tags/v1.10.0
6543
5 years ago
committed by
Lunny Xiao
2 changed files with 14 additions and 1 deletions
Loading…
Reference in new issue