mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Detection of "auth-agent@openssh.com" was too liberal. Spotted by
Ben Rudiak-Gould. [originally from svn r5962]
This commit is contained in:
2
ssh.c
2
ssh.c
@ -6357,7 +6357,7 @@ static void ssh2_msg_channel_open(Ssh ssh, struct Packet *pktin)
|
||||
}
|
||||
}
|
||||
} else if (typelen == 22 &&
|
||||
!memcmp(type, "auth-agent@openssh.com", 3)) {
|
||||
!memcmp(type, "auth-agent@openssh.com", 22)) {
|
||||
if (!ssh->agentfwd_enabled)
|
||||
error = "Agent forwarding is not enabled";
|
||||
else {
|
||||
|
Reference in New Issue
Block a user