mirror of
https://github.com/rclone/rclone.git
synced 2025-08-23 03:20:50 +02:00
vendor: update all dependencies
This commit is contained in:
4
vendor/golang.org/x/crypto/ssh/cipher.go
generated
vendored
4
vendor/golang.org/x/crypto/ssh/cipher.go
generated
vendored
@@ -392,7 +392,9 @@ func (c *gcmCipher) readPacket(seqNum uint32, r io.Reader) ([]byte, error) {
|
||||
c.incIV()
|
||||
|
||||
padding := plain[0]
|
||||
if padding < 4 || padding >= 20 {
|
||||
if padding < 4 {
|
||||
// padding is a byte, so it automatically satisfies
|
||||
// the maximum size, which is 255.
|
||||
return nil, fmt.Errorf("ssh: illegal padding %d", padding)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user