https://bugzilla.mindrot.org/show_bug.cgi?id=2929
Pawel Jakub Dawidek <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED CC| |[email protected] --- Comment #5 from Pawel Jakub Dawidek <[email protected]> --- Hi Damian, I think the fix is incomplete. It probably only works with the OpenSSH server when sandboxing is enabled, but it doesn't work with ssh_api.c. When using API, the kex structure is allocated only once and during the first KEX the ext_info_c field is set to 1. It is then never set to 0, so during next rekeying, even though KEX_INITIAL is no longer set, the SSH_MSG_EXT_INFO will be send again as ext_info_c remains 1. To fix that it would be enough to add: kex->ext_info_c = 0; right after: kex->flags &= ~KEX_INITIAL; in the kex_input_newkeys() function. Thank you. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
