https://bugzilla.mindrot.org/show_bug.cgi?id=2500
Bug ID: 2500
Summary: ConnectionAttempts=0 causes ssh to output
uninitialised data on stdout
Product: Portable OpenSSH
Version: 7.1p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee: [email protected]
Reporter: [email protected]
Using ssh with ConnectionAttempts set to zero results in the contents
of uninitialised memory being sent to stdout. For example:
$ ssh -o ConnectionAttempts=0 somehost
ssh: connect to host somehost port \200\335q\002\374\177: Success
Cause:
When ssh_connect_direct() is passed connection_attempts=0, the
strport[] buffer is never initialised, since the whole attempt loop is
skipped. Its contents are later output in the error message after the
skipped loop (sshconnect.c:485).
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs