| Summary: | packet_set_interactive typo | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Chris Bradley <furrier> |
| Component: | sshd | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | jimb |
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | All | ||
| OS: | All | ||
Correct it was a mistake from a merged patch. It has been added back into portable tree. Thanks. *** Bug 594 has been marked as a duplicate of this bug. *** Mass change of RESOLVED bugs to CLOSED |
Hi, In OpenSSH 3.6.1p1, the function packet_set_interactive() in packet.c appears to have changed from 3.5p1. It appears there may be a typographical error. Specifically, 3.6.1p1 shows: /* Only set socket options if using a socket. */ if (!packet_connection_is_on_socket()) if (interactive) set_nodelay(connection_in); when it is probably supposed to say: /* Only set socket options if using a socket. */ if (!packet_connection_is_on_socket()) return; if (interactive) set_nodelay(connection_in); In other words, it appears somebody accidentily deleted the "return" statement that was present (and functional) in 3.5p1. As such, the set_nodelay() only gets executed in 3.6.1p1 if the connection is NOT on a socket, which is likely not how it was meant to be written.